Skip to content

Commit

Permalink
Improves CS.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <[email protected]>
  • Loading branch information
crynobone committed Sep 13, 2015
1 parent 6477cdc commit eef4e97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Table/Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ protected function buildRowsFromModel($model)
} elseif (is_array($model)) {
$this->setRowsData($model);
} else {
throw new InvalidArgumentException("Unable to convert \$model to array.");
throw new InvalidArgumentException('Unable to convert $model to array.');
}
}

Expand Down Expand Up @@ -424,7 +424,7 @@ protected function resolveQueryBuilderFromModel()
$model = $this->model;

if (! $this->isQueryBuilder($model)) {
throw new InvalidArgumentException("Unable to load Query Builder from \$model");
throw new InvalidArgumentException('Unable to load Query Builder from $model');
}

return $model;
Expand Down

0 comments on commit eef4e97

Please sign in to comment.