Skip to content

Commit 1f40ec2

Browse files
committed
Fix phpstan
1 parent 4c4d9ea commit 1f40ec2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/Runner/Skip/EnvVariableSkipRegistry.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ public function isShouldBeSkipped(CheckDefinition $definition): bool
4848
return false;
4949
}
5050

51+
/**
52+
* Parse ENV as string and return elements as array.
53+
*
54+
* @param string $env
55+
*
56+
* @return array<string>
57+
*/
5158
private function parseEnv(string $env): array
5259
{
5360
$parts = \explode(',', (string) \getenv($env));

0 commit comments

Comments
 (0)