Use isEmpty

This commit is contained in:
James Brooks
2017-01-03 14:36:20 +00:00
parent e67970f1d5
commit fb718c27e0

View File

@@ -81,7 +81,7 @@ class ComponentGroupPresenter extends BasePresenter implements Arrayable
return $this->wrappedObject->components->filter(function ($component) {
return $component->status > 1;
})->count() === 0;
})->isEmpty();
}
/**