Skip to content

Commit b0e7e1d

Browse files
committed
fix: static analysis
1 parent 8267087 commit b0e7e1d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/phpstan.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ name: PHPStan
33
on:
44
workflow_dispatch:
55
push:
6-
branches-ignore:
7-
- 'dependabot/npm_and_yarn/*'
6+
branches: [main]
7+
pull_request:
8+
branches: [main]
89

910
jobs:
1011
phpstan:

src/Fakes/PowerMonitorFake.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function assertGetSystemIdleState(int|Closure $key): void
6464
$hit = empty(
6565
array_filter(
6666
$this->getSystemIdleStateCalls,
67-
fn (string $keyIteration) => $key($keyIteration) === true
67+
fn (int $keyIteration) => $key($keyIteration) === true
6868
)
6969
) === false;
7070

0 commit comments

Comments
 (0)