Skip to content

Commit 229a046

Browse files
committed
-fix CI
1 parent 0cbfd61 commit 229a046

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Mapping/ClassMetadataFactory.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
use function get_class;
4141
use function in_array;
4242
use function is_a;
43+
use function is_numeric;
4344
use function is_subclass_of;
4445
use function str_contains;
4546
use function strlen;
@@ -541,7 +542,7 @@ private function addInheritedIndexes(ClassMetadata $subClass, ClassMetadata $par
541542
foreach (['uniqueConstraints', 'indexes'] as $indexType) {
542543
if (isset($parentClass->table[$indexType])) {
543544
foreach ($parentClass->table[$indexType] as $indexName => $index) {
544-
if (\is_numeric($indexName)) {
545+
if (is_numeric($indexName)) {
545546
// Always add indices without a name
546547
$subClass->table[$indexType][] = $index;
547548

0 commit comments

Comments
 (0)