php7.1 all the things

This commit is contained in:
Shish
2019-05-28 17:31:20 +01:00
parent 189385ff61
commit 5ec3e89884
108 changed files with 400 additions and 1797 deletions

View File

@@ -110,10 +110,9 @@ class ShimmieApi extends Extension {
}
/**
* @param string $arg
* @return string[]
* #return string[]
*/
private function api_get_tags($arg) {
private function api_get_tags(string $arg): array {
global $database;
if (!empty($arg)) {
$all = $database->get_all("SELECT tag FROM tags WHERE tag LIKE ?", array($arg . "%"));