Skip to content

Commit

Permalink
phpstan ignores for v4 stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
nfourtythree committed Dec 18, 2024
1 parent 573d98a commit 8771dda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ public function getStore(): Store
*/
private function _registerUtilityTypes(): void
{
/** @phpstan-ignore-next-line */
$eventName = defined(Utilities::class . '::EVENT_REGISTER_UTILITIES') ? Utilities::EVENT_REGISTER_UTILITIES : Utilities::EVENT_REGISTER_UTILITY_TYPES;

Event::on(
Expand Down
1 change: 1 addition & 0 deletions src/elements/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ protected function tableAttributeHtml(string $attribute): string
'tags',
'variants',
])) {
/** @phpstan-ignore-next-line */
return parent::tableAttributeHtml($attribute);
}

Expand Down
1 change: 1 addition & 0 deletions src/elements/conditions/products/ProductCondition.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class ProductCondition extends ElementCondition
*/
protected function conditionRuleTypes(): array
{
/** @phpstan-ignore-next-line */
return array_merge(parent::conditionRuleTypes(), [
ProductTypeConditionRule::class,
ShopifyStatusConditionRule::class,
Expand Down

0 comments on commit 8771dda

Please sign in to comment.