Skip to content

Commit

Permalink
simplify test for phpstan (3liz#3744)
Browse files Browse the repository at this point in the history
  • Loading branch information
nworr authored Jun 21, 2023
1 parent 58ce288 commit 9ef4a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lizmap/modules/lizmap/lib/Project/Project.php
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ public function findEditionLayerByLayerId($layerId)
public function hasLoginFilteredLayers()
{
$login = (array) $this->cfg->getLoginFilteredLayers();
if ($login && count((array) $login)) {
if (count((array) $login) > 0) {
return true;
}

Expand Down

0 comments on commit 9ef4a9b

Please sign in to comment.