Skip to content

Commit

Permalink
Merge branch '1' into 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Apr 27, 2023
2 parents 1e4f779 + a7ee1e5 commit 95b1250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transformer/PrivateStaticTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function getClassConfig($class)

// Detect deprecated config
$docComment = $prop->getDocComment();
if (str_contains($docComment, '@deprecated')) {
if (strpos($docComment, '@deprecated') !== false) {
$propName = $prop->getName();
$deprecated[$propName] = $this->getDeprecatedData($docComment, $class, $propName);
}
Expand Down

0 comments on commit 95b1250

Please sign in to comment.