@@ -133,7 +133,9 @@ |
||
| 133 | 133 | if (is_array($element)) { |
| 134 | 134 | $depth += self::countMaxDepth($element); |
| 135 | 135 | } |
| 136 | - if ($depth > $maxDepth) $maxDepth = $depth; |
|
| 136 | + if ($depth > $maxDepth) { |
|
| 137 | + $maxDepth = $depth; |
|
| 138 | + } |
|
| 137 | 139 | } |
| 138 | 140 | |
| 139 | 141 | return $maxDepth; |