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 Jan 7, 2021
1 parent 6d41f08 commit 81ad690
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/JSON.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace Naoray\NovaJson;

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

class JSON extends MergeValue
Expand Down Expand Up @@ -55,7 +55,7 @@ protected function prepareField(Field $field)
if ($request->exists($requestAttribute)) {
$value = $request[$requestAttribute];

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

Expand Down
4 changes: 2 additions & 2 deletions tests/JSONTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace Naoray\NovaJson\Tests;

use Naoray\NovaJson\JSON;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Laravel\Nova\Fields\Text;
use Laravel\Nova\Http\Requests\NovaRequest;
use Naoray\NovaJson\Exceptions\AttributeCast;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Naoray\NovaJson\JSON;

class JSONTest extends TestCase
{
Expand Down

0 comments on commit 81ad690

Please sign in to comment.