Fix Categories manager
For PHP 7.3 O_o
This commit is contained in:
parent
4eacb71ead
commit
87ce20a3af
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class Categories extends Manager
|
|||
return $this->repository;
|
||||
}
|
||||
|
||||
public function set($key, $value): Categories
|
||||
public function set($key, $value): Manager
|
||||
{
|
||||
if (! isset($value['cat_name'], $value['disp_position'])) {
|
||||
throw new InvalidArgumentException('Expected array with cat_name and disp_position elements');
|
||||
|
|
Loading…
Add table
Reference in a new issue