Skip to content

Commit 9c0b5ef

Browse files
Add a few more ??=
1 parent a568717 commit 9c0b5ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Extension/Core/EventListener/MergeCollectionListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ abstract protected function getBuilder($name = 'name');
3434

3535
protected function getForm($name = 'name', $propertyPath = null)
3636
{
37-
$propertyPath = $propertyPath ?: $name;
37+
$propertyPath ??= $name;
3838

3939
return $this->getBuilder($name)->setAttribute('property_path', $propertyPath)->getForm();
4040
}

0 commit comments

Comments
 (0)