@@ -367,7 +367,7 @@ public function testCollectionReturnTypes(
367367 /**
368368 * @covers ::create
369369 */
370- public function testFactoryMethodFailsIfBodyIsEmpty () : void
370+ public function testFactoryMethodFailsIfBodyIsEmpty (): void
371371 {
372372 $ this ->expectException ('InvalidArgumentException ' );
373373 Method::create ('' );
@@ -376,7 +376,7 @@ public function testFactoryMethodFailsIfBodyIsEmpty() : void
376376 /**
377377 * @covers ::create
378378 */
379- public function testFactoryMethodReturnsNullIfBodyIsIncorrect () : void
379+ public function testFactoryMethodReturnsNullIfBodyIsIncorrect (): void
380380 {
381381 $ this ->expectException ('InvalidArgumentException ' );
382382 $ this ->assertNull (Method::create ('body( ' ));
@@ -385,7 +385,7 @@ public function testFactoryMethodReturnsNullIfBodyIsIncorrect() : void
385385 /**
386386 * @covers ::create
387387 */
388- public function testFactoryMethodFailsIfResolverIsNull () : void
388+ public function testFactoryMethodFailsIfResolverIsNull (): void
389389 {
390390 $ this ->expectException ('InvalidArgumentException ' );
391391 Method::create ('body ' );
@@ -394,7 +394,7 @@ public function testFactoryMethodFailsIfResolverIsNull() : void
394394 /**
395395 * @covers ::create
396396 */
397- public function testFactoryMethodFailsIfDescriptionFactoryIsNull () : void
397+ public function testFactoryMethodFailsIfDescriptionFactoryIsNull (): void
398398 {
399399 $ this ->expectException ('InvalidArgumentException ' );
400400 Method::create ('body ' , new TypeResolver ());
@@ -403,7 +403,7 @@ public function testFactoryMethodFailsIfDescriptionFactoryIsNull() : void
403403 /**
404404 * @covers ::__construct
405405 */
406- public function testCreationFailsIfBodyIsNotString () : void
406+ public function testCreationFailsIfBodyIsNotString (): void
407407 {
408408 $ this ->expectException ('InvalidArgumentException ' );
409409 new Method ([]);
@@ -412,7 +412,7 @@ public function testCreationFailsIfBodyIsNotString() : void
412412 /**
413413 * @covers ::__construct
414414 */
415- public function testCreationFailsIfBodyIsEmpty () : void
415+ public function testCreationFailsIfBodyIsEmpty (): void
416416 {
417417 $ this ->expectException ('InvalidArgumentException ' );
418418 new Method ('' );
@@ -421,7 +421,7 @@ public function testCreationFailsIfBodyIsEmpty() : void
421421 /**
422422 * @covers ::__construct
423423 */
424- public function testCreationFailsIfStaticIsNotBoolean () : void
424+ public function testCreationFailsIfStaticIsNotBoolean (): void
425425 {
426426 $ this ->expectException ('InvalidArgumentException ' );
427427 new Method ('body ' , [], null , []);
@@ -430,7 +430,7 @@ public function testCreationFailsIfStaticIsNotBoolean() : void
430430 /**
431431 * @covers ::__construct
432432 */
433- public function testCreationFailsIfArgumentRecordContainsInvalidEntry () : void
433+ public function testCreationFailsIfArgumentRecordContainsInvalidEntry (): void
434434 {
435435 $ this ->expectException ('InvalidArgumentException ' );
436436 new Method ('body ' , [ [ 'name ' => 'myName ' , 'unknown ' => 'nah ' ] ]);
0 commit comments