Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix transform RGB value to HSL : division by zero #38

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

ElRochito
Copy link
Contributor

No description provided.

@ElRochito ElRochito changed the title Fix transform rgb value to hsl : division by zero Fix transform RGB value to HSL : division by zero Nov 17, 2020
public function it_can_be_converted_to_hsl_with_same_intensity()
{
$hex = new Hex('a8', 'a8', 'a8');
$hsl = $hex->toHsl();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An exception was thrown before fix

@ElRochito ElRochito mentioned this pull request Nov 17, 2020
@freekmurze freekmurze merged commit 98018dc into spatie:master Nov 18, 2020
@freekmurze
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants