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

Use PHP 8 syntax (#126) #128

Merged
merged 7 commits into from
Apr 4, 2022
Merged

Use PHP 8 syntax (#126) #128

merged 7 commits into from
Apr 4, 2022

Conversation

lruozzi9
Copy link
Member

@lruozzi9 lruozzi9 commented Apr 4, 2022

Fixes #126

Changes proposed in this pull request:

  • Use the new PHP 8 syntax

@lruozzi9 lruozzi9 marked this pull request as ready for review April 4, 2022 10:02
Copy link
Member

@LucaGallinari LucaGallinari left a comment

Choose a reason for hiding this comment

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

Nice

@@ -88,7 +75,7 @@ public function handle($subject, string $attributeCode, array $value): void
sprintf(
'This attribute value handler only supports instances of %s, %s given.',
ProductVariantInterface::class,
is_object($subject) ? get_class($subject) : gettype($subject)
get_debug_type($subject)
Copy link
Member

Choose a reason for hiding this comment

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

Interesting

@lruozzi9 lruozzi9 merged commit fd8a5af into master Apr 4, 2022
@lruozzi9 lruozzi9 deleted the issue-126 branch April 4, 2022 16:06
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.

Use PHP 8 syntax
2 participants