Skip to content

Commit

Permalink
Merge pull request ongr-archive#29 from gyKa/fix-return-annotation
Browse files Browse the repository at this point in the history
getCategory() method doesn't return null.
  • Loading branch information
Mindaugas Barysas committed Jan 13, 2015
2 parents 7d32210 + 9250358 commit 48fe431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Service/CategoryService.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private function buildChildNode($node, $references, $maxLevel)
*
* @param string $id Category ID.
*
* @return DocumentInterface|null
* @return DocumentInterface
*/
public function getCategory($id)
{
Expand Down

0 comments on commit 48fe431

Please sign in to comment.