Skip to content

Commit

Permalink
Fixed compatibility with PHPStan 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Nov 24, 2019
1 parent 404b83a commit f83b966
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Mockery/Reflection/StubMethodReflection.php
Expand Up @@ -63,12 +63,9 @@ public function getVariants(): array
];
}

/**
* @return string|false
*/
public function getDocComment()
public function getDocComment(): ?string
{
return false;
return null;
}

public function isDeprecated(): \PHPStan\TrinaryLogic
Expand Down

0 comments on commit f83b966

Please sign in to comment.