Skip to content

Commit f15df92

Browse files
committed
fix: php7 syntax
1 parent 508dfc6 commit f15df92

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Configuration/ConfigurationAnnotation.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function __construct(
4343

4444
private function typecast(
4545
&$value,
46-
?ReflectionType $type,
46+
?ReflectionType $type
4747
) {
4848
if ($type instanceof ReflectionNamedType
4949
&& gettype($value) !== $type->getName()

test/EventSubscriber/ControllerSubscriberTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ protected function getGracefulForArray(
130130
}
131131

132132
protected function getControllerEvent(
133-
callable $controller,
133+
callable $controller
134134
): ControllerEvent {
135135
return new ControllerEvent(
136136
$this->createMock(HttpKernelInterface::class),
@@ -161,7 +161,7 @@ function () {
161161

162162
protected function getSubscriberObject(
163163
array $globalGraceful = [],
164-
bool $reader = false,
164+
bool $reader = false
165165
): ControllerSubscriber {
166166
return new ControllerSubscriber(
167167
$reader ? new AnnotationReader() : null,

0 commit comments

Comments
 (0)