mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-28 10:40:28 +02:00
[ticket/15540] Add types and phpdoc
PHPBB3-15540
This commit is contained in:
@@ -48,7 +48,7 @@ class search_backend_factory
|
||||
*
|
||||
* @return search_backend_interface
|
||||
*/
|
||||
public function get($class)
|
||||
public function get($class): search_backend_interface
|
||||
{
|
||||
return $this->search_backends->get_by_class($class);
|
||||
}
|
||||
@@ -58,7 +58,7 @@ class search_backend_factory
|
||||
*
|
||||
* @return search_backend_interface
|
||||
*/
|
||||
public function get_active()
|
||||
public function get_active(): search_backend_interface
|
||||
{
|
||||
return $this->get($this->config['search_type']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user