Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
tonysm authored and actions-user committed Jan 17, 2021
1 parent 36a3bb2 commit be32b8b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/NamesResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static function resourceIdFor(Model $model, string $prefix = ""): string

$resource = static::resourceNameSingularFor(static::getModelWithoutRootNamespaces($model));

if (!($modelId = $model->getKey())) {
if (! ($modelId = $model->getKey())) {
return "{$prefix}create_{$resource}";
}

Expand Down
1 change: 0 additions & 1 deletion tests/Views/ViewHelpersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Illuminate\Support\Facades\View;
use Illuminate\Support\Str;
use Tonysm\TurboLaravel\Tests\Views\Models;
use function Tonysm\TurboLaravel\dom_id;
use Tonysm\TurboLaravel\Tests\TestCase;
use Tonysm\TurboLaravel\TurboFacade;
Expand Down

0 comments on commit be32b8b

Please sign in to comment.