Skip to content

Commit 221859a

Browse files
Add return types - batch 1/n
1 parent 6b63fd3 commit 221859a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

GenericRuntime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public function getRunner(?object $application): RunnerInterface
147147
/**
148148
* @return mixed
149149
*/
150-
protected function getArgument(\ReflectionParameter $parameter, ?string $type)
150+
protected function getArgument(\ReflectionParameter $parameter, ?string $type): mixed
151151
{
152152
if ('array' === $type) {
153153
switch ($parameter->name) {

SymfonyRuntime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function getRunner(?object $application): RunnerInterface
158158
/**
159159
* @return mixed
160160
*/
161-
protected function getArgument(\ReflectionParameter $parameter, ?string $type)
161+
protected function getArgument(\ReflectionParameter $parameter, ?string $type): mixed
162162
{
163163
switch ($type) {
164164
case Request::class:

0 commit comments

Comments
 (0)