Skip to content

Commit

Permalink
Merge pull request #821 from davidwindell/patch-3
Browse files Browse the repository at this point in the history
Rename reserved empty() to isEmpty()
  • Loading branch information
calcinai committed Sep 16, 2021
2 parents 9015ed2 + 2348e13 commit 98527c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XeroPHP/Remote/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function addAssociatedObject($parent_property, Model $object)
*
* @return bool
*/
public function empty()
public function isEmpty()
{
return !count($this);
}
Expand Down

0 comments on commit 98527c6

Please sign in to comment.