Skip to content

Commit

Permalink
Merge pull request #6 from warhole9/master
Browse files Browse the repository at this point in the history
Patch Reflection File: replace continue by break in switch context
  • Loading branch information
Shardj authored Apr 18, 2019
2 parents 280dc4e + e42e06f commit c4fe107
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/Zend/Reflection/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ protected function _reflect()
case T_DOLLAR_OPEN_CURLY_BRACES:
case T_CURLY_OPEN:
$embeddedVariableTrapped = true;
continue;
break;

// Name of something
case T_STRING:
Expand All @@ -366,15 +366,15 @@ protected function _reflect()
$this->_classes[] = $value;
$classTrapped = false;
}
continue;
break;

// Required file names are T_CONSTANT_ENCAPSED_STRING
case T_CONSTANT_ENCAPSED_STRING:
if ($requireTrapped) {
$this->_requiredFiles[] = $value ."\n";
$requireTrapped = false;
}
continue;
break;

// Functions
case T_FUNCTION:
Expand Down

0 comments on commit c4fe107

Please sign in to comment.