Typo in magic methods

PhpStorm shows "Typo: in word isset" for public function __sleep() and the same is actual for __wakeup magig method.
Is this a feature or a bug in 4.0.1?

5 comments
Comment actions Permalink

Hi Andrey,

Can you please provide some code example where such bug can be reproduced (pease try it in brand new empty project) + screenshot that will illustrate the issue?

0
Comment actions Permalink

class Test
{
    public function __isset($name) {
        
    }
}



Attachment(s):
Screenshot from 2012-05-23 18:36:32.png
0
Comment actions Permalink

Can you please re-post screenshot -- Unfortunately I see nothing.

In any case -- it works fine here, no "typo" messages. I suggest you to try "File | Invalidate Caches..." if you have not tried it yet.

0
Comment actions Permalink

Attached it, reposting shows only filename, not the image itself.
Cache Invalidation did nothing with the issue.

0
Comment actions Permalink

What can I say -- on my computer I see no issues here. Maybe try latest EAP build of upcoming 4.0.2 ( http://www.jetbrains.net/confluence/display/wi ) -- I've tested it using it.

Other than that -- this may be correct ticket for your case:

0

Please sign in to leave a comment.