Skip to content

Commit ab1f35e

Browse files
committed
Removed obsolete @var in ExtendObjectPropertiesMatchingPatternPropertiesPostProcessor
There's no variable in this scope by that name. This was found by [PHPStan](https://phpstan.org) on level 2.
1 parent 5cef589 commit ab1f35e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/SchemaProcessor/PostProcessor/Internal/ExtendObjectPropertiesMatchingPatternPropertiesPostProcessor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public function getCode(PropertyInterface $property, bool $batchUpdate = false):
5050

5151
$matchesAnyPattern = false;
5252

53-
/** @var PatternPropertiesValidator $patternPropertiesValidator */
5453
foreach (array_keys($json['patternProperties']) as $pattern) {
5554
if (preg_match("/{$pattern}/", $property->getName())) {
5655
$matchesAnyPattern = true;

0 commit comments

Comments
 (0)