Skip to content

Commit

Permalink
[Core] ClassMethod implement support for deprecated modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Jul 26, 2014
1 parent db49d5b commit 186b9ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Library/ClassMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ public function getVisibility()
* Returns the C-modifier flags
*
* @return string
* @throws Exception
*/
public function getModifiers()
{
Expand All @@ -535,6 +536,9 @@ public function getModifiers()
case 'abstract':
$modifiers['ZEND_ACC_ABSTRACT'] = $visibility;
break;
case 'deprecated':
$modifiers['ZEND_ACC_DEPRECATED'] = $visibility;
break;
case 'inline':
break;
case 'scoped':
Expand Down

0 comments on commit 186b9ce

Please sign in to comment.