Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 20, 2025
1 parent c3684df commit 617ac1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function refactor(Node $node): ?Node
return null;
}

if (Strings::match($includeValue, self::WINDOWS_DRIVE_REGEX)) {
if (!in_array(Strings::match($includeValue, self::WINDOWS_DRIVE_REGEX), [null, []], true)) {
return null;
}

Expand Down

0 comments on commit 617ac1c

Please sign in to comment.