Browse Source

Remove meaningless code

chinpei215 8 years ago
parent
commit
727a0e409b
1 changed files with 0 additions and 5 deletions
  1. 0 5
      src/Utility/Hash.php

+ 0 - 5
src/Utility/Hash.php

@@ -350,11 +350,6 @@ class Hash
         $count = count($path);
         $last = $count - 1;
         foreach ($path as $i => $key) {
-            if ((is_numeric($key) && (int)$key > 0 || $key === '0') &&
-                strpos($key, '0') !== 0
-            ) {
-                $key = (int)$key;
-            }
             if ($op === 'insert') {
                 if ($i === $last) {
                     $_list[$key] = $values;