11<?php
2+
23declare (strict_types=1 );
34
45/**
1415 * @since 0.1.0
1516 * @license https://opensource.org/licenses/MIT MIT License
1617 */
18+
1719namespace Cake \Queue \Test \TestCase \Job ;
1820
1921use Cake \Queue \Job \Message ;
@@ -31,7 +33,7 @@ class MessageTest extends TestCase
3133 *
3234 * @return void
3335 */
34- public function testConstructorAndGetters ()
36+ public function testConstructorAndGetters (): void
3537 {
3638 $ callable = ['TestApp\WelcomeMailer ' , 'welcome ' ];
3739 $ time = 'sample data ' . time ();
@@ -69,7 +71,7 @@ public function testConstructorAndGetters()
6971 *
7072 * @return void
7173 */
72- public function testLegacyArguments ()
74+ public function testLegacyArguments (): void
7375 {
7476 $ callable = ['TestApp\WelcomeMailer ' , 'welcome ' ];
7577 $ args = [
@@ -98,7 +100,7 @@ public function testLegacyArguments()
98100 *
99101 * @return void
100102 */
101- public function testGetCallableInvalidClass ()
103+ public function testGetCallableInvalidClass (): void
102104 {
103105 $ parsedBody = [
104106 'class ' => ['Trash ' , 'trash ' ],
@@ -120,7 +122,7 @@ public function testGetCallableInvalidClass()
120122 *
121123 * @return void
122124 */
123- public function testGetCallableInvalidType ()
125+ public function testGetCallableInvalidType (): void
124126 {
125127 $ parsedBody = [
126128 'class ' => ['TestApp\WelcomeMailer ' , 'trash ' , 'oops ' ],
0 commit comments