Skip to content

Commit 64536fe

Browse files
committed
Fixed return type
1 parent b940e79 commit 64536fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "softcreatr/jsonpath",
33
"description": "JSONPath implementation for parsing, searching and flattening arrays",
4-
"version": "0.6.0",
4+
"version": "0.6.1",
55
"license": "MIT",
66
"authors": [
77
{

src/JSONPath.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,9 @@ public function jsonSerialize()
232232
/**
233233
* Return the current element
234234
*
235-
* @return $this|mixed
235+
* @return mixed
236236
*/
237-
public function current(): self
237+
public function current()
238238
{
239239
$value = current($this->data);
240240

0 commit comments

Comments
 (0)