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 @@ -37,7 +37,7 @@ public function testConstructorWithoutParameters() : void
3737 $ this ->assertSame ('' , $ exception ->getMessage ());
3838 $ this ->assertSame ([], $ exception ->getContext ());
3939 $ this ->assertSame (0 , $ exception ->getCode ());
40- $ this ->assertSame ( null , $ exception ->getPrevious ());
40+ $ this ->assertNull ( $ exception ->getPrevious ());
4141 }
4242
4343 /**
@@ -69,8 +69,8 @@ public function testContext() : void
6969 $ this ->assertSame ($ context ['foo ' ], $ exception ->fromContext ('foo ' ));
7070 $ this ->assertSame ($ context ['bar ' ], $ exception ->fromContext ('bar ' ));
7171
72- $ this ->assertSame ( null , $ exception ->fromContext ('baz ' ));
73- $ this ->assertSame ( false , $ exception ->fromContext ('baz ' , false ));
72+ $ this ->assertNull ( $ exception ->fromContext ('baz ' ));
73+ $ this ->assertFalse ( $ exception ->fromContext ('baz ' , false ));
7474 }
7575
7676 /**
You can’t perform that action at this time.
0 commit comments