mirror of
https://github.com/cerbero90/json-parser.git
synced 2025-04-16 00:40:11 +02:00
Move pointer
This commit is contained in:
parent
bccb085814
commit
ff2d11d7da
@ -4,6 +4,7 @@ namespace Cerbero\JsonParser;
|
||||
|
||||
use Cerbero\JsonParser\Decoders\ArrayDecoder;
|
||||
use Cerbero\JsonParser\Decoders\Decoder;
|
||||
use Cerbero\JsonParser\Pointers\Pointer;
|
||||
use Closure;
|
||||
|
||||
/**
|
||||
@ -36,9 +37,9 @@ class Config
|
||||
/**
|
||||
* The callback to run during a parsing error.
|
||||
*
|
||||
* @var Closure|null
|
||||
* @var Closure
|
||||
*/
|
||||
public ?Closure $onError = null;
|
||||
public Closure $onError;
|
||||
|
||||
/**
|
||||
* Instantiate the class
|
||||
|
@ -4,6 +4,7 @@ namespace Cerbero\JsonParser;
|
||||
|
||||
use Cerbero\JsonParser\Decoders\Decoder;
|
||||
use Cerbero\JsonParser\Decoders\ObjectDecoder;
|
||||
use Cerbero\JsonParser\Pointers\Pointer;
|
||||
use Cerbero\JsonParser\Sources\Source;
|
||||
use IteratorAggregate;
|
||||
use Traversable;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Cerbero\JsonParser;
|
||||
namespace Cerbero\JsonParser\Pointers;
|
||||
|
||||
use Stringable;
|
||||
|
Loading…
x
Reference in New Issue
Block a user