Last active
December 29, 2015 13:49
-
-
Save Thinkscape/7679994 to your computer and use it in GitHub Desktop.
WI-17404
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Foo { | |
class Bar { | |
public function baz(){} | |
} | |
} | |
namespace Jira { | |
use Foo\Bar; | |
/** | |
* @method Bar getBar() | |
*/ | |
class Foo | |
{ | |
public function test() | |
{ | |
return $this->getBar()->baz(); // <--- this is marked as error | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment