Skip to content

Commit

Permalink
add missing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
patinthehat committed Jun 10, 2024
1 parent ddb0443 commit c9dffbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Enums/LayerMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ enum LayerMethod: int
case Mosaic = Imagick::LAYERMETHOD_MOSAIC;
case TrimBounds = Imagick::LAYERMETHOD_TRIMBOUNDS;

public static function isValid(int $value)
public static function isValid(int $value): bool
{
return self::tryFrom($value) instanceof self;
}
Expand Down

0 comments on commit c9dffbc

Please sign in to comment.