Skip to content

Commit

Permalink
Remove meaningless code
Browse files Browse the repository at this point in the history
  • Loading branch information
chinpei215 committed Aug 19, 2017
1 parent 5b082ca commit 727a0e4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Utility/Hash.php
Expand Up @@ -350,11 +350,6 @@ protected static function _simpleOp($op, $data, $path, $values = null)
$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;
Expand Down

0 comments on commit 727a0e4

Please sign in to comment.