Skip to content

Commit 1e3fc01

Browse files
fix: pass property reference instead of DocComment only
1 parent 26566a7 commit 1e3fc01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/RiotAPITestCase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function checkObjectPropertiesAndDataValidity(IApiObject $object, array $
9191
continue; // TODO: Continue?
9292
9393
// For each property parse its DataType
94-
$dataType = ApiObject::getPropertyDataType($propRef->getDocComment());
94+
$dataType = ApiObject::getPropertyDataType($propRef);
9595

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

0 commit comments

Comments
 (0)