Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Symfony Expected argument of type "string", "null" given

public function setUrl(?string $url): self // Accept nullable string by the ?
 
PREVIOUS NEXT
Tagged: #Symfony #Expected #argument #type
ADD COMMENT
Topic
Name
3+6 =