mirror of
https://github.com/cerbero90/json-parser.git
synced 2025-01-17 04:58:15 +01:00
Method chaining not needed
This commit is contained in:
parent
36f8325604
commit
27d1e3f9af
@ -169,14 +169,12 @@ class State
|
||||
* Traverse the given object key
|
||||
*
|
||||
* @param string $key
|
||||
* @return static
|
||||
* @return void
|
||||
*/
|
||||
public function traverseKey(string $key): static
|
||||
public function traverseKey(string $key): void
|
||||
{
|
||||
$this->tree->traverseKey($key);
|
||||
$this->treeChanged = true;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user