Skip to content

Commit

Permalink
Fix alias for categoryItemType
Browse files Browse the repository at this point in the history
Amends: f7f1969
  • Loading branch information
mcaskill committed Nov 7, 2019
1 parent 518f9b6 commit 426c6c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Charcoal/Object/CategoryTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ public function getCategoryItemType()
}

/**
* Legacy support for old-style getter.
* Alias of {@see self::getCategoryItemType()}.
*
* @return string
*/
public function categoryItemType()
{
return $this->categoryItemType();
return $this->getCategoryItemType();
}

/**
Expand Down

0 comments on commit 426c6c3

Please sign in to comment.