Skip to content

Commit

Permalink
fix: pass property reference instead of DocComment only
Browse files Browse the repository at this point in the history
  • Loading branch information
dolejska-daniel authored Jun 10, 2023
1 parent 26566a7 commit 1e3fc01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tests/RiotAPITestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function checkObjectPropertiesAndDataValidity(IApiObject $object, array $
continue; // TODO: Continue?
// For each property parse its DataType
$dataType = ApiObject::getPropertyDataType($propRef->getDocComment());
$dataType = ApiObject::getPropertyDataType($propRef);

// Check if its data type is non-standard data type (our special object)
if ($dataType != false)
Expand Down

0 comments on commit 1e3fc01

Please sign in to comment.