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.
This commit is contained in:
commit
992a69684d
@ -1263,8 +1263,6 @@ class Process
|
||||
call_user_func($callback, $type, $data);
|
||||
}
|
||||
};
|
||||
|
||||
return $callback;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user