Skip to content

Commit

Permalink
Merge pull request #18 from martin-dufka/martin-dufka-zf-create-patch-1
Browse files Browse the repository at this point in the history
Fix count() Warnings on bin/zf create
  • Loading branch information
Shardj committed Sep 23, 2019
2 parents 2bceb8c + 66cbd6f commit 4c6585a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Tool/Project/Profile/Resource/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ public function valid()
*/
public function hasChildren()
{
return (count($this->_subResources > 0)) ? true : false;
return (count($this->_subResources) > 0) ? true : false;
}

/**
Expand Down

0 comments on commit 4c6585a

Please sign in to comment.