@@ -113,7 +113,7 @@ private function getPrimitiveMethodReturnType(): array
113113 $ method = new ClassMethod (
114114 'testMethod ' ,
115115 [
116- 'returnType ' => 'string '
116+ 'returnType ' => 'string ' ,
117117 ]
118118 );
119119
@@ -154,7 +154,7 @@ private function getClassMethodReturnType(): array
154154 return [
155155 $ classReflection ,
156156 $ method ,
157- $ expectedReturnType
157+ $ expectedReturnType,
158158 ];
159159 }
160160
@@ -180,7 +180,7 @@ private function getNullableMethodReturnType(): array
180180 return [
181181 $ classReflection ,
182182 $ method ,
183- $ expectedReturnType
183+ $ expectedReturnType,
184184 ];
185185 }
186186
@@ -399,7 +399,7 @@ public function testUpdateMethodParametersFromTags(): void
399399 'updateMethodParametersFromTags ' ,
400400 [
401401 $ function ,
402- $ docBlockNode ->getTag ('param ' )
402+ $ docBlockNode ->getTag ('param ' ),
403403 ]
404404 )
405405 );
@@ -433,7 +433,7 @@ public function testUpdateMethodParametersFromTagsVariadic(): void
433433 'updateMethodParametersFromTags ' ,
434434 [
435435 $ function ,
436- $ docBlockNode ->getTag ('param ' )
436+ $ docBlockNode ->getTag ('param ' ),
437437 ]
438438 )
439439 );
@@ -480,7 +480,7 @@ public function testUpdateMethodParametersFromInvalidTags(): void
480480 'updateMethodParametersFromTags ' ,
481481 [
482482 $ function ,
483- $ docBlockNode ->getTag ('param ' )
483+ $ docBlockNode ->getTag ('param ' ),
484484 ]
485485 )
486486 );
@@ -517,7 +517,7 @@ public function testUpdateMethodParametersFromInvalidTagsReport(): void
517517 'updateMethodParametersFromTags ' ,
518518 [
519519 $ function ,
520- $ docBlockNode ->getTag ('param ' )
520+ $ docBlockNode ->getTag ('param ' ),
521521 ]
522522 )
523523 );
@@ -548,12 +548,12 @@ public function testAddTagFromCommentToMethodInvalidHint(): void
548548 'var ' ,
549549 $ docBlockNode ,
550550 $ property ,
551- &$ errors
551+ &$ errors,
552552 ]
553553 );
554554 $ this ->assertSame (
555555 [
556- 'The hint on "prop1" at @var is invalid: "\Illuminate\Support\Carbon;" '
556+ 'The hint on "prop1" at @var is invalid: "\Illuminate\Support\Carbon;" ' ,
557557 ],
558558 $ errors
559559 );
@@ -584,7 +584,7 @@ public function testAddTagFromCommentToMethodHintVariadic(): void
584584 'var ' ,
585585 $ docBlockNode ,
586586 $ property ,
587- &$ errors
587+ &$ errors,
588588 ]
589589 );
590590 $ this ->assertSame (
@@ -618,7 +618,7 @@ public function testAddTagFromCommentToMethodReturnParam(): void
618618 'return ' ,
619619 $ docBlockNode ,
620620 $ property ,
621- &$ errors
621+ &$ errors,
622622 ]
623623 );
624624 $ this ->assertSame ('comment ' , $ property ->getHintDesc ());
@@ -653,7 +653,7 @@ public function testAddTagFromCommentToMethodReturnParamNoComment(): void
653653 'return ' ,
654654 $ docBlockNode ,
655655 $ property ,
656- &$ errors
656+ &$ errors,
657657 ]
658658 );
659659 $ this ->assertSame ('' , $ property ->getHintDesc ());
@@ -689,13 +689,13 @@ public function testAddTagFromCommentToMethodReturnParamTooMuchVarTags(): void
689689 'var ' ,
690690 $ docBlockNode ,
691691 $ property ,
692- &$ errors
692+ &$ errors,
693693 ]
694694 );
695695 $ this ->assertSame ('' , $ property ->getHintDesc ());
696696 $ this ->assertSame (
697697 [
698- 'Too much @var tags on "myProperty" at @var found: 2 @var tags '
698+ 'Too much @var tags on "myProperty" at @var found: 2 @var tags ' ,
699699 ],
700700 $ errors
701701 );
@@ -727,13 +727,13 @@ public function testAddTagFromCommentToMethodReturnParamTooMuchReturnTags(): voi
727727 'return ' ,
728728 $ docBlockNode ,
729729 $ property ,
730- &$ errors
730+ &$ errors,
731731 ]
732732 );
733733 $ this ->assertSame ('' , $ property ->getHintDesc ());
734734 $ this ->assertSame (
735735 [
736- 'Too much @return tags on "functionName" at @return found: 2 @return tags '
736+ 'Too much @return tags on "functionName" at @return found: 2 @return tags ' ,
737737 ],
738738 $ errors
739739 );
@@ -752,7 +752,7 @@ public function testGetParsedSeeEntry(): void
752752 'getParsedSeeEntry ' ,
753753 [
754754 'https://foo.tld ' ,
755- ''
755+ '' ,
756756 ]
757757 );
758758 $ this ->assertSame (
@@ -771,7 +771,7 @@ public function testGetParsedSeeEntry(): void
771771 'getParsedSeeEntry ' ,
772772 [
773773 'Class::method() ' ,
774- ''
774+ '' ,
775775 ]
776776 );
777777 $ this ->assertSame (
@@ -790,7 +790,7 @@ public function testGetParsedSeeEntry(): void
790790 'getParsedSeeEntry ' ,
791791 [
792792 'FooClass ' ,
793- ''
793+ '' ,
794794 ]
795795 );
796796 $ this ->assertSame (
@@ -819,7 +819,7 @@ public function testResolveSee(): void
819819 [
820820 [
821821 'Net_Sample::$foo, Net_Other::someMethod() ' ,
822- 'https://example.com, http://foo.bar.tld/folder/ '
822+ 'https://example.com, http://foo.bar.tld/folder/ ' ,
823823 ],
824824 ]
825825 );
0 commit comments