File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 14
14
namespace Laudis \Neo4j \Tests \Unit ;
15
15
16
16
use BadMethodCallException ;
17
- use InvalidArgumentException ;
18
17
use function json_encode ;
19
18
use JsonException ;
20
19
use Laudis \Neo4j \Types \AbstractCypherObject ;
20
+ use OutOfBoundsException ;
21
21
use PHPUnit \Framework \TestCase ;
22
22
23
23
/**
@@ -81,7 +81,7 @@ public function testEmpty(): void
81
81
$ caught = null ;
82
82
try {
83
83
$ empty [0 ];
84
- } catch (InvalidArgumentException $ e ) {
84
+ } catch (OutOfBoundsException $ e ) {
85
85
$ caught = true ;
86
86
}
87
87
self ::assertTrue ($ caught , 'Empty has still valid access ' );
@@ -124,7 +124,7 @@ public function testFilled(): void
124
124
$ caught = null ;
125
125
try {
126
126
$ filled [0 ];
127
- } catch (InvalidArgumentException $ e ) {
127
+ } catch (OutOfBoundsException $ e ) {
128
128
$ caught = true ;
129
129
}
130
130
self ::assertTrue ($ caught , 'Filled has still valid access ' );
You can’t perform that action at this time.
0 commit comments