8000 Fix return type is non-nullable · symfony/form@aed57cb · GitHub
[go: up one dir, main page]

Skip to content

Commit aed57cb

Browse files
committed
Fix return type is non-nullable
1 parent c87b96d commit aed57cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Fixtures/TestExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function addType(FormTypeInterface $type)
3434

3535
public function getType($name): FormTypeInterface
3636
{
37-
return $this->types[$name] ?? null;
37+
return $this->types[$name];
3838
}
3939

4040
public function hasType($name): bool

0 commit comments

Comments
 (0)
0