Skip to content

Commit

Permalink
Merge pull request #19 from Laravel-Backpack/analysis-zRPY5p
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI

[ci skip]
  • Loading branch information
tabacitu committed May 20, 2016
2 parents e266034 + db2cc6e commit 4c56e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Crud.php
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ public function removeColumn($column)

public function remove($entity, $fields)
{
return array_values(array_filter($this->{$entity}, function($field) use ($fields) { return !in_array($field['name'], (array)$fields);}));
return array_values(array_filter($this->{$entity}, function ($field) use ($fields) { return ! in_array($field['name'], (array) $fields); }));
}

/**
Expand Down

0 comments on commit 4c56e42

Please sign in to comment.