code style fix
CI / testsuite (mysql, 8.2, ) (push) Successful in 4m19s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 5m31s
CI / testsuite (pgsql, 8.5, ) (push) Successful in 2m39s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 4m22s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Successful in 3m44s
CI / testsuite (sqlite, 8.5, ) (push) Successful in 11m36s
CI / Coding Standard & Static Analysis (push) Successful in 3m26s
CI / testsuite (mysql, 8.5, ) (push) Successful in 5m54s
CI / testsuite (mysql, 8.2, ) (push) Successful in 4m19s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 5m31s
CI / testsuite (pgsql, 8.5, ) (push) Successful in 2m39s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 4m22s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Successful in 3m44s
CI / testsuite (sqlite, 8.5, ) (push) Successful in 11m36s
CI / Coding Standard & Static Analysis (push) Successful in 3m26s
CI / testsuite (mysql, 8.5, ) (push) Successful in 5m54s
This commit is contained in:
@@ -18,9 +18,9 @@ enum CartTypeId: int implements EnumLabelInterface
|
||||
*/
|
||||
public function label(): string {
|
||||
return match ($this) {
|
||||
static::Cart => 'Cart',
|
||||
static::Wishlist => 'Wishlist',
|
||||
static::CustomList => 'List'
|
||||
CartTypeId::Cart => 'Cart',
|
||||
CartTypeId::Wishlist => 'Wishlist',
|
||||
CartTypeId::CustomList => 'List'
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user