Skip to content

Commit

Permalink
Fix analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Jan 10, 2025
1 parent a0b27ef commit 3ac8c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/Imagick/Modifiers/CropModifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ private function imagemagickMajorVersion(): int
return 0;
}

return intval($matches['major'] ?? 0);
return intval($matches['major']);
}
}

0 comments on commit 3ac8c67

Please sign in to comment.