Mercurial > hg > isophonics-drupal-site
comparison vendor/psy/psysh/src/Psy/TabCompletion/Matcher/AbstractDefaultParametersMatcher.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
60 $allSequential = true; | 60 $allSequential = true; |
61 | 61 |
62 foreach ($value as $key => $item) { | 62 foreach ($value as $key => $item) { |
63 $allSequential = $allSequential && is_numeric($key) && $key === count($chunksSequential); | 63 $allSequential = $allSequential && is_numeric($key) && $key === count($chunksSequential); |
64 | 64 |
65 $keyString = $this->valueToShortString($key); | 65 $keyString = $this->valueToShortString($key); |
66 $itemString = $this->valueToShortString($item); | 66 $itemString = $this->valueToShortString($item); |
67 | 67 |
68 $chunks[] = "{$keyString} => {$itemString}"; | 68 $chunks[] = "{$keyString} => {$itemString}"; |
69 $chunksSequential[] = $itemString; | 69 $chunksSequential[] = $itemString; |
70 } | 70 } |