Skip to content

Commit

Permalink
Merge pull request #2 from calebdw/analysis-EP71B9
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
calebdw authored Dec 22, 2023
2 parents 74f2cbf + 31ff23b commit 2b7a9fb
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 2b7a9fb

Please sign in to comment.