Skip to content

Commit

Permalink
tighten return typing
Browse files Browse the repository at this point in the history
  • Loading branch information
ashnazg committed Jul 26, 2018
1 parent 269c74f commit 3c5fcd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phpDocumentor/Plugin/Twig/Writer/Twig.php
Expand Up @@ -241,7 +241,7 @@ class_implements($extensionValue),
* @param DescriptorAbstract|ProjectDescriptor $node
* @throws InvalidArgumentException if no artifact is provided and no routing rule matches.
* @throws UnexpectedValueException if the provided node does not contain anything.
* @return string|bool returns the destination location or false if generation should be aborted.
* @return false|string returns the destination location or false if generation should be aborted.
*/
protected function getDestinationPath($node, Transformation $transformation)
{
Expand Down

0 comments on commit 3c5fcd4

Please sign in to comment.