mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-13 06:29:30 +00:00
Fixed some inspection issues.
This commit is contained in:
parent
6caf605fe2
commit
e01b06fb85
80 changed files with 173 additions and 218 deletions
|
|
@ -66,7 +66,7 @@ class TagFinder
|
|||
*
|
||||
* @return string[] an array containing the tags that match the given keyword
|
||||
*/
|
||||
public function searchTags(string $keyword, array $options = [])
|
||||
public function searchTags(string $keyword, array $options = []): array
|
||||
{
|
||||
$results = [];
|
||||
$keyword_regex = '/^'.preg_quote($keyword, '/').'/';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue