Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Dec 22, 2023
1 parent 74f2cbf commit 31ff23b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Properties/ComputedPropertyExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function hasProperty(ClassReflection $classReflection, string $propertyNa
return false;
}

if (($classReflection->hasNativeMethod($this->getterPropertyName($propertyName)))) {
if ($classReflection->hasNativeMethod($this->getterPropertyName($propertyName))) {
return true;
}

Expand Down
2 changes: 2 additions & 0 deletions tests/stubs/TestComponentWithComputedProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ public function propertyWithGenerics(): array

/**
* This is a comment.
*
* @return array<int,string>
*
* @deprecated Has a description.
*/
public function getGetterStyleProperty(): array
Expand Down

0 comments on commit 31ff23b

Please sign in to comment.