mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-19 00:25:18 +00:00
Fix deprecation warning
This commit is contained in:
@ -21,7 +21,7 @@ class SearchResult {
|
||||
* @param int $kind The kind of result (group, user...)
|
||||
* @param int $kind_id The ID of the result
|
||||
*/
|
||||
public function SearchResult(int $kind, int $kind_id){
|
||||
public function __construct(int $kind, int $kind_id){
|
||||
$this->set_kind($kind);
|
||||
$this->set_kind_id($kind_id);
|
||||
}
|
||||
|
Reference in New Issue
Block a user