Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed May 7, 2024
1 parent 960714f commit f0f24eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions app/Providers/NovaServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ 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 */
$model = Util::userModel();

return tap((new $model())->forceFill([
Expand Down
5 changes: 0 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ parameters:
count: 1
path: app/Providers/AppServiceProvider.php

-
message: "#^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\\.$#"
count: 1
path: app/Providers/NovaServiceProvider.php

-
message: "#^Parameter \\#1 \\$callback of method Illuminate\\\\Support\\\\Collection\\<string,Symfony\\\\Component\\\\Finder\\\\SplFileInfo\\>\\:\\:transform\\(\\) expects callable\\(Symfony\\\\Component\\\\Finder\\\\SplFileInfo, string\\)\\: Symfony\\\\Component\\\\Finder\\\\SplFileInfo, Closure\\(mixed\\)\\: string given\\.$#"
count: 1
Expand Down

0 comments on commit f0f24eb

Please sign in to comment.