Fix deprecation warning

This commit is contained in:
Pierre HUBERT 2019-02-25 11:51:53 +01:00
parent 55562f79eb
commit edf7f88e98

View File

@ -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);
}