Skip to content

Commit

Permalink
unified return null usages
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Apr 18, 2014
1 parent 2945d9c commit e189c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExpressionLanguage/DoctrineParserCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function __construct(Cache $cache)
public function fetch($key)
{
if (false === $value = $this->cache->fetch($key)) {
return null;
return;
}

return $value;
Expand Down

0 comments on commit e189c5b

Please sign in to comment.