Skip to content

Instantly share code, notes, and snippets.

@Thinkscape
Last active December 29, 2015 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Thinkscape/7679994 to your computer and use it in GitHub Desktop.
Save Thinkscape/7679994 to your computer and use it in GitHub Desktop.
WI-17404
<?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