Skip to content

Commit b047c5c

Browse files
committed
CS: Apply ternary_to_null_coalescing fixer
1 parent cc2de36 commit b047c5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Constraints/GroupSequence.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ class GroupSequence
8484
public function __construct(array $groups)
8585
{
8686
// Support for Doctrine annotations
87-
$this->groups = isset($groups['value']) ? $groups['value'] : $groups;
87+
$this->groups = $groups['value'] ?? $groups;
8888
}
8989
}

0 commit comments

Comments
 (0)