Skip to content

Commit

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

[ci skip]
  • Loading branch information
tabacitu committed May 25, 2016
2 parents 14b0e6e + 558990b commit e0ef577
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Crud.php
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,7 @@ public function setColumns($columns)
public function addColumn($column)
{
// if a string was passed, not an array, change it to an array
if (!is_array($column))
{
if (! is_array($column)) {
$column = ['name' => $column];
}

Expand Down

0 comments on commit e0ef577

Please sign in to comment.