-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
This is problem, when collaborator is used not only in Subject
or Collaborator
, for example:
public function it_should_be_nice_spec(Client $client): void
{
$this->doSomethingMore($client);
$this->make($client)->shouldReturn('magic');
}
private function doSomethingMore(Client $client): void
{
}
34 Parameter #1 $client of method
spec\SomeSpec::doSomethingMore() expects
Client,
class@anonymous\/var/www/proget/vendor/proget-hq/phpstan-phpspec/src/NodeVisitor/Collab
oratorResolver.php(42) : eval()'d code0x7f3a250371b2 given.
Metadata
Metadata
Assignees
Labels
No labels