src/Components/CreateDefinition.php 1 location
|
@@ 284-289 (lines=6) @@
|
281 |
|
$ret[] = $expr; |
282 |
|
} |
283 |
|
|
284 |
|
if (($state !== 0) && ($state !== 6)) { |
285 |
|
$parser->error( |
286 |
|
__('A closing bracket was expected.'), |
287 |
|
$list->tokens[$list->idx - 1] |
288 |
|
); |
289 |
|
} |
290 |
|
|
291 |
|
--$list->idx; |
292 |
|
|
src/Components/RenameOperation.php 1 location
|
@@ 139-144 (lines=6) @@
|
136 |
|
} |
137 |
|
} |
138 |
|
|
139 |
|
if ($state !== 3) { |
140 |
|
$parser->error( |
141 |
|
__('A rename operation was expected.'), |
142 |
|
$list->tokens[$list->idx - 1] |
143 |
|
); |
144 |
|
} |
145 |
|
|
146 |
|
// Last iteration was not saved. |
147 |
|
if (!empty($expr->old)) { |