mirror of
https://github.com/friendica/friendica
synced 2025-04-28 18:24:24 +02:00
Added more type-hints
This commit is contained in:
parent
3f74a59f73
commit
c6c936a80f
7 changed files with 46 additions and 53 deletions
|
@ -32,10 +32,9 @@ class Search
|
|||
* Returns the list of user defined tags (e.g. #Friendica)
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function getUserTags()
|
||||
public static function getUserTags(): array
|
||||
{
|
||||
$termsStmt = DBA::p("SELECT DISTINCT(`term`) FROM `search`");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue