Type hinting for arrays |
Guru master
|
I think the correct format is @var array([<keytype>=>]<valuetype>) but I doubt PhpED has support for this. In any case, I never tried it.
|
||||||||||||
|
|
Thanks Blizz,
I tried that but it didn't work unfortunately. PhpED team - can we make this a feature request? Andrew |
||||||||||||
|
|
Would be nice if we could get this included with PhpED.
Although we can still do things like this as a decent enough workaround if we have an array of objects:
Much better than the alternative hack that I had to use in Zend Studio:
|
||||||||||||||||
|
|
Did the first option not work for you in Zend Studio? I have a Zend Studio version that I use every now and again, but it was the last version before the release Zend Studio for Eclipse, so it's a little different.
|
||||||||||||
|
Veteran
|
This would be a very very handy feature
|
||||||||||||
|
|
+1
|
||||||||||||
|
Type hinting for arrays |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by