Skip to content

add morph model binding tests #159

add morph model binding tests

add morph model binding tests #159

Triggered via push May 23, 2024 19:04
Status Failure
Total duration 30s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/Attributes/BindModel.php#L27
Method OpenSoutheners\LaravelDto\Attributes\BindModel::getBindingAttribute() has no return type specified.
PHPStan: src/Attributes/BindModel.php#L44
Cannot call method bindingFieldFor() on Illuminate\Routing\Route|null.
PHPStan: src/Attributes/BindModel.php#L48
Cannot call method setParameter() on Illuminate\Routing\Route|null.
PHPStan: src/Attributes/BindModel.php#L56
Method OpenSoutheners\LaravelDto\Attributes\BindModel::resolveBinding() has no return type specified.
PHPStan: src/Attributes/BindModel.php#L60
Call to an undefined method object::resolveRouteBindingQuery().
PHPStan: src/Attributes/BindModel.php#L106
Call to an undefined method object::getMorphClass().
PHPStan: src/Commands/DtoMakeCommand.php#L88
Parameter #2 $requestClass of method OpenSoutheners\LaravelDto\Commands\DtoMakeCommand::replaceProperties() expects string|null, array|bool|string|null given.
PHPStan: src/Commands/DtoMakeCommand.php#L89
Parameter #2 $requestClass of method OpenSoutheners\LaravelDto\Commands\DtoMakeCommand::replaceRequestClass() expects string|null, array|bool|string|null given.
PHPStan: src/Commands/DtoMakeCommand.php#L129
Call to an undefined method object::rules().
PHPStan: src/Commands/DtoMakeCommand.php#L202
Parameter #2 $replace of function str_replace expects array|string, string|null given.