mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-06 11:09:29 +00:00
Fixed phpstan issue
This commit is contained in:
parent
551c7f7e76
commit
8f2ff50dd0
1 changed files with 2 additions and 2 deletions
|
|
@ -174,8 +174,8 @@ class TypeSynonymsCollectionType extends AbstractType
|
||||||
$sortable = $rows;
|
$sortable = $rows;
|
||||||
|
|
||||||
usort($sortable, static function ($a, $b) {
|
usort($sortable, static function ($a, $b) {
|
||||||
$aDs = $a['dataSource']?->value ?? '';
|
$aDs = $a['dataSource']->value ?? '';
|
||||||
$bDs = $b['dataSource']?->value ?? '';
|
$bDs = $b['dataSource']->value ?? '';
|
||||||
|
|
||||||
$cmpDs = strcasecmp($aDs, $bDs);
|
$cmpDs = strcasecmp($aDs, $bDs);
|
||||||
if ($cmpDs !== 0) {
|
if ($cmpDs !== 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue