Skip to content

Commit

Permalink
fixup! Enh: Add module manager test and add some improvements and bug…
Browse files Browse the repository at this point in the history
… fixes (humhub#6511)
  • Loading branch information
martin-rueegg committed Sep 23, 2023
1 parent 9d901fc commit 4aea493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protected/humhub/components/ModuleManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public function getModules($options = [])
public function filterModules(?array $modules, $filters = []): array
{
if (!$filters instanceof ArrayAccess && !is_array($filters)) {
throw new InvalidArgumentTypeException(__METHOD__, [2 => '$filters'], ['array', ArrayAccess::class], $filters);
throw new InvalidArgumentTypeException('$filters', ['array', ArrayAccess::class], $filters);
}

$modules = $this->filterModulesByKeyword($modules, $filters['keyword'] ?? null);
Expand Down

0 comments on commit 4aea493

Please sign in to comment.