Merge branch 'fix-static-analysis' of https://github.com/pawel-slowik/uuid into pawel-slowik-fix-static-analysis

This commit is contained in:
Ben Ramsey
2021-08-06 16:08:43 -05:00
3 changed files with 26 additions and 4 deletions
+6 -1
View File
@@ -69,6 +69,11 @@ class BuilderCollection extends AbstractCollection
],
]);
$this->data = $data;
$this->data = array_filter(
$data,
function ($unserialized): bool {
return $unserialized instanceof UuidBuilderInterface;
}
);
}
}
+6 -1
View File
@@ -50,6 +50,11 @@ class NodeProviderCollection extends AbstractCollection
],
]);
$this->data = $data;
$this->data = array_filter(
$data,
function ($unserialized): bool {
return $unserialized instanceof NodeProviderInterface;
}
);
}
}