Skip to content

Commit c69f103

Browse files
update for phpstan
1 parent ac84ac2 commit c69f103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/container.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,7 @@ public static function findContainers($itemtype, $type = 'tab', $subtype = '', $
16341634
$where['type'] = $type;
16351635
}
16361636

1637-
if (is_array($entityRestriction) && !empty($entityRestriction)) {
1637+
if (!empty($entityRestriction)) {
16381638
$allowedEntities = [];
16391639
foreach ($entityRestriction as $restriction) {
16401640
if (isset($restriction['entities_id']) && is_array($restriction['entities_id'])) {

0 commit comments

Comments
 (0)