mirror of
https://github.com/cerbero90/json-parser.git
synced 2025-01-29 10:38:09 +01:00
Mark pointer as found
This commit is contained in:
parent
8e9e381713
commit
1f34de5e2b
@ -66,8 +66,7 @@ class Pointers
|
||||
public function markAsFound(Pointer $pointer): void
|
||||
{
|
||||
if (!$pointer->wasFound) {
|
||||
$pointer->wasFound = true;
|
||||
$this->found[(string) $pointer] = true;
|
||||
$this->found[(string) $pointer] = $pointer->wasFound = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user