Skip to content

Commit

Permalink
Changing --$depth to $depth-- in src/Utility/Hash.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Theaxiom committed Apr 17, 2017
1 parent 3880183 commit 6d09bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utility/Hash.php
Expand Up @@ -819,7 +819,7 @@ public static function dimensions(array $data)
$depth = 1;
while ($elem = array_shift($data)) {
if (is_array($elem)) {
++$depth;
$depth++;
$data = $elem;
} else {
break;
Expand Down

0 comments on commit 6d09bdd

Please sign in to comment.