It seems like new \GFG\DTOUrl\Url($this->getUrlParts()) of type object<GFG\DTOUrl\Url> is incompatible with the declared type object<GFG\DTOUrl\Url\Url> of property $url.
Our type inference engine has found an assignment to a property that is incompatible
with the declared type of that property.
Either this assignment is in error or the assigned type should be added
to the documentation/type hint for that property..
Loading history...
22
1
}
23
24
1
return $this->url;
25
}
26
27
/**
28
* Extracts the url information from the current class name and
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..