Skip to content

Commit

Permalink
continue -> break
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Dec 23, 2019
1 parent fdad9c5 commit b02a0ba
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/Horde/ActiveSync/Wbxml/Decoder.php
Expand Up @@ -349,7 +349,7 @@ protected function _getToken() {
switch ($byte) {
case self::SWITCH_PAGE:
$this->_tagcp = $this->_getByte();
continue;
break;

case self::END:
$element[self::EN_TYPE] = self::EN_TYPE_ENDTAG;
Expand Down Expand Up @@ -377,12 +377,12 @@ protected function _getToken() {
case self::EXT_I_2:
$this->_getTermStr();
// Ignore extensions
continue;
break;

case self::PI:
// Ignore PI
$this->_getAttributes();
continue;
break;

case self::LITERAL_C:
$element[self::EN_TYPE] = self::EN_TYPE_STARTTAG;
Expand All @@ -395,7 +395,7 @@ protected function _getToken() {
case self::EXT_T_2:
$this->_getMBUInt();
// Ingore extensions;
continue;
break;

case self::STR_T:
$element[self::EN_TYPE] = self::EN_TYPE_CONTENT;
Expand All @@ -411,7 +411,7 @@ protected function _getToken() {
case self::EXT_0:
case self::EXT_1:
case self::EXT_2:
continue;
break;

case self::OPAQUE:
$length = $this->_getMBUInt();
Expand Down Expand Up @@ -513,7 +513,7 @@ protected function _getAttributes()
case self::EXT_I_1:
case self::EXT_I_2:
$this->_getTermStr();
continue;
break;

case self::PI:
case self::LITERAL_C:
Expand All @@ -524,7 +524,7 @@ protected function _getAttributes()
case self::EXT_T_1:
case self::EXT_T_2:
$this->_getMBUInt();
continue;
break;

case self::STR_T:
$attr .= $this->_getStringTableEntry($this->_getMBUInt());
Expand All @@ -536,7 +536,7 @@ protected function _getAttributes()
case self::EXT_0:
case self::EXT_1:
case self::EXT_2:
continue;
break;

case self::OPAQUE:
$length = $this->_getMBUInt();
Expand Down

0 comments on commit b02a0ba

Please sign in to comment.