Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray authored and actions-user committed Feb 3, 2021
1 parent a4cdd55 commit babb292
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/JSON.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

namespace Naoray\NovaJson;

use Laravel\Nova\Makeable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Http\Resources\MergeValue;
use Illuminate\Support\Str;
use Laravel\Nova\Fields\Field;
use Laravel\Nova\Fields\Hidden;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Http\Resources\MergeValue;
use Laravel\Nova\Http\Requests\NovaRequest;
use Laravel\Nova\Makeable;
use Naoray\NovaJson\Exceptions\AttributeCast;

class JSON extends MergeValue
Expand Down Expand Up @@ -153,7 +153,7 @@ protected function prepareField(Field $field)
return;
}

if (!$model->hasCast($this->attribute)) {
if (! $model->hasCast($this->attribute)) {
throw AttributeCast::notFoundFor($this->attribute);
}

Expand Down

0 comments on commit babb292

Please sign in to comment.