Method \App\Services\Validation\Rules\PolyExistsRule::__construct() does not have parameter type hint nor @param annotation for its parameter $poly_type.
Loading history...
26
{
27
$this->poly_type = $poly_type;
28
}
29
30
/**
31
* Determine if $value is a valid id of the model specified in the _type polymorphic relation column.
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
Method \App\Services\Validation\Rules\PolyExistsRule::message() does not have native return type hint for its return value but it should be possible to add it based on @return annotation "string".