Skip to content

Commit

Permalink
Merge pull request #9347 from weirdan/fix-restarter-restart-signature
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan authored Feb 20, 2023
2 parents fbef36a + 1b0f322 commit 8e0fd88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Psalm/Internal/Fork/PsalmRestarter.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ protected function requiresRestart($default): bool
* No type hint to allow xdebug-handler v1 and v2 usage
*
* @param string[] $command
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint
*/
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 8e0fd88

Please sign in to comment.