mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-27 07:49:27 +00:00
Fix deprecation warning
This commit is contained in:
parent
55562f79eb
commit
edf7f88e98
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user