Skip to content

Commit

Permalink
Fix PsalmRestarter::restart() signature
Browse files Browse the repository at this point in the history
XdebugHandler v2 did not have the param type hint

Fixes #9345
  • Loading branch information
weirdan committed Feb 20, 2023
1 parent fbef36a commit 090f862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/Fork/PsalmRestarter.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ protected function requiresRestart($default): bool
*
* @param string[] $command
*/
protected function restart(array $command): void
protected function restart($command): void
{
if ($this->required && $this->tmpIni) {
$regex = '/^\s*(extension\s*=.*(' . implode('|', $this->disabled_extensions) . ').*)$/mi';
Expand Down

0 comments on commit 090f862

Please sign in to comment.