Skip to content

Commit

Permalink
Always phpstan. Make signature identical
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Sep 10, 2024
1 parent 19112c0 commit 17fe4c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ jobs:
- name: Install dependencies
run: composer --verbose install

- name: Run phpstan
if: matrix.php-version != 7.0
run: composer phpstan

- name: Run tests
run: composer test
env:
Expand Down
4 changes: 2 additions & 2 deletions src/ProcessFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ class ProcessFactory implements ProcessFactoryInterface
/**
* {@inheritdoc}
*/
public function getProcess(array $commandline, $cwd = null, array $env = null, $input = null, $timeout = 60, array $options = null)
public function getProcess(array $command, ?string $cwd = null, ?array $env = null, $input = null, ?float $timeout = 60)
{
return new Process($commandline, $cwd, $env, $input, $timeout);
return new Process($command, $cwd, $env, $input, $timeout);
}
}

0 comments on commit 17fe4c4

Please sign in to comment.