We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebdecb9 commit b24f83eCopy full SHA for b24f83e
src/Exercise/UniteTheTypes.php
@@ -77,7 +77,9 @@ public function getPatch(): Patch
77
78
$casterInsertion = new CodeInsertion(CodeInsertion::TYPE_BEFORE, $code);
79
80
- return (new Patch())->withInsertion($casterInsertion);
+ return (new Patch())
81
+ ->withTransformer(new Patch\ForceStrictTypes())
82
+ ->withInsertion($casterInsertion);
83
}
84
85
public function check(Input $input): ResultInterface
0 commit comments