diff --git a/src/Table/Grid.php b/src/Table/Grid.php index b8da1ba..c35c663 100644 --- a/src/Table/Grid.php +++ b/src/Table/Grid.php @@ -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.'); } } @@ -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;