Settings #1926
Annotations
10 errors
Perform static analysis:
src/Actions/Action.php#L138
Anonymous function should return Illuminate\Support\MessageBag but returns Illuminate\Contracts\Support\MessageBag.
|
Perform static analysis:
src/Actions/Action.php#L219
Call to an undefined method Illuminate\Database\Eloquent\Model::recordRootEvent().
|
Perform static analysis:
src/Actions/Actions.php#L31
Method Cone\Root\Actions\Actions::authorized() should return static(Cone\Root\Actions\Actions) but returns Cone\Root\Actions\Actions.
|
Perform static analysis:
src/Actions/Actions.php#L39
Method Cone\Root\Actions\Actions::visible() should return static(Cone\Root\Actions\Actions) but returns Cone\Root\Actions\Actions.
|
Perform static analysis:
src/Actions/SendPasswordResetNotification.php#L19
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),Illuminate\Database\Eloquent\Model>::each() expects callable(Illuminate\Database\Eloquent\Model, int|string): mixed, Closure(Cone\Root\Models\User): void given.
|
Perform static analysis:
src/Actions/SendVerificationNotification.php#L16
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),Illuminate\Database\Eloquent\Model>::reject() expects bool|(callable(Illuminate\Database\Eloquent\Model, int|string): bool)|Illuminate\Database\Eloquent\Model, Closure(Cone\Root\Models\User): bool given.
|
Perform static analysis:
src/Actions/SendVerificationNotification.php#L18
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),Illuminate\Database\Eloquent\Model>::each() expects callable(Illuminate\Database\Eloquent\Model, int|string): mixed, Closure(Cone\Root\Models\User): void given.
|
Perform static analysis:
src/Fields/BelongsToMany.php#L224
Parameter #1 $model of method Cone\Root\Fields\BelongsToMany<TRelation of Illuminate\Database\Eloquent\Relations\BelongsToMany>::getRelation() expects Illuminate\Database\Eloquent\Model, string|null given.
|
Perform static analysis:
src/Fields/Fields.php#L43
Method Cone\Root\Fields\Fields::authorized() should return static(Cone\Root\Fields\Fields) but returns Cone\Root\Fields\Fields.
|
Perform static analysis:
src/Fields/Fields.php#L51
Method Cone\Root\Fields\Fields::visible() should return static(Cone\Root\Fields\Fields) but returns Cone\Root\Fields\Fields.
|
Loading