Skip to content

Commit 0661f8f

Browse files
committed
Remove useless continue
1 parent 39f490b commit 0661f8f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/CodePatcher.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,17 +100,14 @@ private function applyPatch(Patch $patch, string $code): string
100100
foreach ($patch->getModifiers() as $modifier) {
101101
if ($modifier instanceof CodeInsertion) {
102102
$statements = $this->applyCodeInsertion($modifier, $statements);
103-
continue;
104103
}
105104

106105
if ($modifier instanceof \Closure) {
107106
$statements = $modifier($statements);
108-
continue;
109107
}
110108

111109
if ($modifier instanceof Transformer) {
112110
$statements = $modifier->transform($statements);
113-
continue;
114111
}
115112
}
116113

0 commit comments

Comments
 (0)