Skip to content

Commit b24f83e

Browse files
committed
Use force strict type patch
1 parent ebdecb9 commit b24f83e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Exercise/UniteTheTypes.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ public function getPatch(): Patch
7777

7878
$casterInsertion = new CodeInsertion(CodeInsertion::TYPE_BEFORE, $code);
7979

80-
return (new Patch())->withInsertion($casterInsertion);
80+
return (new Patch())
81+
->withTransformer(new Patch\ForceStrictTypes())
82+
->withInsertion($casterInsertion);
8183
}
8284

8385
public function check(Input $input): ResultInterface

0 commit comments

Comments
 (0)