@@ -274,7 +274,7 @@ $del."extends SomeBaseClass",
274
274
-> startIfBlock(' $do_that' )
275
275
-> add(' return ' )
276
276
-> addValue(
277
- array ( 1 , 2 , 3 ) ,
277
+ varray [ 1 , 2 , 3 ] ,
278
278
HackBuilderValues :: valueArray(HackBuilderValues :: export()),
279
279
)
280
280
-> closeStatement()
@@ -286,9 +286,9 @@ $del."extends SomeBaseClass",
286
286
public function testSwitchBodyWithReturnsInCaseAndDefault (): void {
287
287
// Gosh, I have no idea what names of football shots are!
288
288
$players = Vector {
289
- array ( ' name' => ' Ronaldo' , ' favorite_shot' => ' freeKick' ) ,
290
- array ( ' name' => ' Messi' , ' favorite_shot' => ' slideKick' ) ,
291
- array ( ' name' => ' Maradona' , ' favorite_shot' => ' handOfGod' ) ,
289
+ darray [ ' name' => ' Ronaldo' , ' favorite_shot' => ' freeKick' ] ,
290
+ darray [ ' name' => ' Messi' , ' favorite_shot' => ' slideKick' ] ,
291
+ darray [ ' name' => ' Maradona' , ' favorite_shot' => ' handOfGod' ] ,
292
292
};
293
293
294
294
$body = $this
@@ -313,9 +313,9 @@ $del."extends SomeBaseClass",
313
313
public function testSwitchBodyWithBreaksInCaseAndDefault (): void {
314
314
// Gosh, I have no idea what names of football shots are!
315
315
$players = Vector {
316
- array ( ' name' => ' Ronaldo' , ' favorite_shot' => ' freeKick' ) ,
317
- array ( ' name' => ' Messi' , ' favorite_shot' => ' slideKick' ) ,
318
- array ( ' name' => ' Maradona' , ' favorite_shot' => ' handOfGod' ) ,
316
+ darray [ ' name' => ' Ronaldo' , ' favorite_shot' => ' freeKick' ] ,
317
+ darray [ ' name' => ' Messi' , ' favorite_shot' => ' slideKick' ] ,
318
+ darray [ ' name' => ' Maradona' , ' favorite_shot' => ' handOfGod' ] ,
319
319
};
320
320
321
321
$body = $this
@@ -340,9 +340,9 @@ $del."extends SomeBaseClass",
340
340
public function testSwitchBodyWithMultipleCasesWithoutBreaks (): void {
341
341
// Gosh, I have no idea what names of football shots are!
342
342
$players = Vector {
343
- array ( ' name' => ' Ronaldo' , ' favorite_shot' => ' freeKick' ) ,
344
- array ( ' name' => ' Messi' , ' favorite_shot' => ' slideKick' ) ,
345
- array ( ' name' => ' Maradona' , ' favorite_shot' => ' handOfGod' ) ,
343
+ darray [ ' name' => ' Ronaldo' , ' favorite_shot' => ' freeKick' ] ,
344
+ darray [ ' name' => ' Messi' , ' favorite_shot' => ' slideKick' ] ,
345
+ darray [ ' name' => ' Maradona' , ' favorite_shot' => ' handOfGod' ] ,
346
346
};
347
347
348
348
$body = $this
0 commit comments