Skip to content

Commit

Permalink
Use isEmpty
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Jan 3, 2017
1 parent e67970f commit fb718c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Presenters/ComponentGroupPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function is_collapsed()

return $this->wrappedObject->components->filter(function ($component) {
return $component->status > 1;
})->count() === 0;
})->isEmpty();
}

/**
Expand Down

0 comments on commit fb718c2

Please sign in to comment.