Have you really got a root-namespaced class called "String", or are
you trying to type-hint on a string type?

According to the PHP manual:
"Type Hints can only be of the object and array (since PHP 5.1) type.
Traditional type hinting with int and string isn't supported."

On Apr 6, 12:54 pm, Conrad <conrad.barthel...@googlemail.com> wrote:
> Thanks for your reply, yes I found something.. and it helped a bit :)
> doctrine also made a datatype out of it:
>
>     /**
>      * Set profileImageUrl
>      *
>      * @param String $profileImageUrl
>      */
>     public function setProfileImageUrl(\String $profileImageUrl)
>     {
>         $this->profileImageUrl = $profileImageUrl;
>     }
>
> Then I changed everything, looked for all "Strings" inside my code and
> lowercased them - same error..
> but this time I could delete the cache with the symfony command (success++
> :)
> I also dropped the database, cleared everything and started allover - now I
> get a  *Invalid type specified "Boolean". *Error on /user/new - not even
> until confirmed page... So I just looked for a capitalized Boolean - but
> this time, there is really none... hmm
>
> Logmessage:http://pastebin.com/EnRQx64g
> Stacktrace:http://pastebin.com/gSiscTxc

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to