8000 minor #17940 [Process] Remove unreachable return statement. (paradajo… · symfony/symfony@992a696 · GitHub
[go: up one dir, main page]

Skip to content

Commit 992a696

Browse files
committed
minor #17940 [Process] Remove unreachable return statement. (paradajozsef)
This PR was merged into the 3.1-dev branch. Discussion ---------- [Process] Remove unreachable return statement. | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - [This return](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Process/Process.php#L1267) is [unreachable](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Process/Process.php#L1255) after #17427. Commits ------- 8f2d5bb [Process] Remove unreachable return statement.
2 parents 2544162 + 8f2d5bb commit 992a696

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/Process/Process.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,8 +1263,6 @@ protected function buildCallback(callable $callback = null)
12631263
call_user_func($callback, $type, $data);
12641264
}
12651265
};
1266-
1267-
return $callback;
12681266
}
12691267

12701268
/**

0 commit comments

Comments
 (0)
0