Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed May 7, 2024
1 parent 9fce5f6 commit 2c2602f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Providers/NovaServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ function ($command) {
];
},
function (string $name, string $email, string $password, bool $active) {

Check failure on line 86 in app/Providers/NovaServiceProvider.php

View workflow job for this annotation

GitHub Actions / PHP8.2 on ubuntu-latest (highest)

Parameter #2 $createUserCallback of static method Laravel\Nova\Nova::createUserUsing() expects (Closure(string, string, string): Illuminate\Database\Eloquent\Model)|null, Closure(string, string, string, bool): Illuminate\Database\Eloquent\Model given.

/** @var class-string<\Illuminate\Database\Eloquent\Model> $model */
/** @var class-string<\Illuminate\Database\Eloquent\Model> $model */
$model = Util::userModel();

return tap((new $model())->forceFill([
Expand Down

0 comments on commit 2c2602f

Please sign in to comment.