1111
1212namespace Josantonius \Session \Tests ;
1313
14+ use PHPUnit \Framework \TestCase ;
1415use Josantonius \Session \Session ;
1516use Josantonius \Session \Facades \Session as SessionFacade ;
16- use PHPUnit \Framework \TestCase ;
1717
1818class GetMethodTest extends TestCase
1919{
@@ -29,7 +29,7 @@ public function setUp(): void
2929 /**
3030 * @runInSeparateProcess
3131 */
32- public function testShouldGetAttributeIfExists ()
32+ public function testShouldGetAttributeIfExists (): void
3333 {
3434 $ this ->session ->start ();
3535
@@ -41,7 +41,7 @@ public function testShouldGetAttributeIfExists()
4141 /**
4242 * @runInSeparateProcess
4343 */
44- public function testShouldGetDefaultValueIfNotExists ()
44+ public function testShouldGetDefaultValueIfNotExists (): void
4545 {
4646 $ this ->session ->start ();
4747
@@ -51,7 +51,7 @@ public function testShouldGetDefaultValueIfNotExists()
5151 /**
5252 * @runInSeparateProcess
5353 */
54- public function testShouldGetCustomDefaultValueIfNotExists ()
54+ public function testShouldGetCustomDefaultValueIfNotExists (): void
5555 {
5656 $ this ->session ->start ();
5757
@@ -61,7 +61,7 @@ public function testShouldGetCustomDefaultValueIfNotExists()
6161 /**
6262 * @runInSeparateProcess
6363 */
64- public function testShouldGetAttributeDefinedOutsideLibrary ()
64+ public function testShouldGetAttributeDefinedOutsideLibrary (): void
6565 {
6666 session_start ();
6767
@@ -73,7 +73,7 @@ public function testShouldGetAttributeDefinedOutsideLibrary()
7373 /**
7474 * @runInSeparateProcess
7575 */
76- public function testShouldBeAvailableFromTheFacade ()
76+ public function testShouldBeAvailableFromTheFacade (): void
7777 {
7878 $ facade = new SessionFacade ();
7979
0 commit comments