Skip to content

Commit

Permalink
Fixed PHPStan issue
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Wright <tom@inflatablecookie.com>
  • Loading branch information
betterthanclay committed May 15, 2024
1 parent 79a5adc commit 91fccca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Message/UploadedFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ public function moveTo(
$sapi = PHP_SAPI;

if (
// @phpstan-ignore-next-line
empty($sapi) ||
0 === strpos($sapi, 'cli') ||
!$this->file
Expand Down

0 comments on commit 91fccca

Please sign in to comment.