mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-13 13:09:35 +00:00
Added declare strict types to all files
This commit is contained in:
parent
bea90a7d94
commit
6a2ff9d153
196 changed files with 685 additions and 360 deletions
|
|
@ -120,7 +120,7 @@ class BuiltinAttachmentsFinder
|
|||
*/
|
||||
public function find(string $keyword, array $options = [], ?array $base_list = []): array
|
||||
{
|
||||
if (empty($base_list)) {
|
||||
if ($base_list === null || $base_list === []) {
|
||||
$base_list = $this->getListOfRessources();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue