File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
tests/lib/Form/DataTransformer Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,8 @@ public function testTransformWithInvalidInput($value): void
4949 $ this ->expectException (TransformationFailedException::class);
5050 $ this ->expectExceptionMessage ('Expected a ' . ContentInfo::class . ' object. ' );
5151
52- $ result = $ this ->contentInfoTransformer ->transform ($ value );
52+ /** @phpstan-ignore method.resultUnused */
53+ $ this ->contentInfoTransformer ->transform ($ value );
5354 }
5455
5556 /**
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ public function testTransformWithInvalidInput($value): void
5252 $ this ->expectException (TransformationFailedException::class);
5353 $ this ->expectExceptionMessage ('Expected a ' . Language::class . ' object. ' );
5454
55- $ result = $ transformer ->transform ($ value );
55+ /** @phpstan-ignore method.resultUnused */
56+ $ transformer ->transform ($ value );
5657 }
5758
5859 public function testReverseTransformWithLanguageCode (): void
You can’t perform that action at this time.
0 commit comments