Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
using break instead of continue 2 inside switch
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jul 10, 2018
1 parent bc9cf9b commit d0cd1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ArrayObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ public function unserialize($data)
$this->setIteratorClass($v);
break;
case 'protectedProperties':
continue 2;
break;
default:
$this->__set($k, $v);
}
Expand Down

0 comments on commit d0cd1d0

Please sign in to comment.