Skip to content

Commit b82e7c5

Browse files
authored
Merge pull request #77 from rcjsuen/align-getData-return-type
Change getData() so that it can be mixed instead of array
2 parents 3a6108a + 507c42e commit b82e7c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JSONPath.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function parseTokens(string $expression): array
138138
return $tokens;
139139
}
140140

141-
public function getData(): array
141+
public function getData(): mixed
142142
{
143143
return $this->data;
144144
}

0 commit comments

Comments
 (0)