Skip to content

Commit 2de56a4

Browse files
committed
TECH Suppress psalm incorrect complain
1 parent ca5d650 commit 2de56a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Api/AbstractStruct.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ protected function initScalarProperties($apiResponse, array $properties): void
3131
$classPropertyName = current($property);
3232
$value = $apiResponse->{key($property)};
3333
} else {
34+
/** @psalm-suppress PossiblyInvalidArgument */
3435
$classPropertyName = $this->underToCamel(str_replace('-', '_', $property));
3536
$value = $apiResponse->$property;
3637
}

0 commit comments

Comments
 (0)