forked from mirror/Part-DB.Part-DB-server
Fixed phpstan issue
This commit is contained in:
parent
2b5030c69f
commit
1935258978
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class NormalizePropertyNameCollectionFactory implements PropertyNameCollectionFa
|
||||||
$camelized = u($property)->camel()->toString();
|
$camelized = u($property)->camel()->toString();
|
||||||
|
|
||||||
//If the camelized version exists, remove it from the collection
|
//If the camelized version exists, remove it from the collection
|
||||||
$index = array_search($camelized, $properties);
|
$index = array_search($camelized, $properties, true);
|
||||||
if ($index !== false) {
|
if ($index !== false) {
|
||||||
unset($properties[$index]);
|
unset($properties[$index]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue