1
0
Fork 0
pull/750/merge
asc 2019-08-01 19:37:59 +00:00 committed by GitHub
commit 90b39942be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -423,6 +423,10 @@ class Index implements ReadableIndex, \Serializable
*/ */
private function removeIndexedDefinition(int $level, array $parts, array &$storage, array &$rootStorage) private function removeIndexedDefinition(int $level, array $parts, array &$storage, array &$rootStorage)
{ {
if (empty($parts)) {
return;
}
$part = $parts[$level]; $part = $parts[$level];
if ($level + 1 === count($parts)) { if ($level + 1 === count($parts)) {