Skip to content

Commit

Permalink
Removed a bad copy & paste artifact in the findBy method that trigger…
Browse files Browse the repository at this point in the history
…ed warnings.
  • Loading branch information
EmilePerron committed Sep 26, 2020
1 parent 1e9b407 commit c296bd3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/AbstractEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ public static function findBy(array $filters)
static::checkResponse($response);
$entities = static::getEntityArrayFromResponse($response);

if (!is_array($ids)) {
return array_pop($entities);
}

// Handle pagination automatically
while (isset($response['nextPage']) && $response['nextPage'] != null) {
try {
Expand Down

0 comments on commit c296bd3

Please sign in to comment.