@@ -247,7 +247,7 @@ public function compile(
247
247
$ code = "" ;
248
248
249
249
if ($ inline === false ) {
250
- $ code .= "$ { indent}return " ;
250
+ $ code .= "{ $ indent }return " ;
251
251
}
252
252
253
253
if ($ this ->isSingletonCheckEliminable ($ parentId ) === false ) {
@@ -256,7 +256,7 @@ public function compile(
256
256
257
257
if ($ hasProperties ) {
258
258
$ code .= "\$this->setClassProperties( \n" ;
259
- $ code .= "$ { indent}$ { tab}" ;
259
+ $ code .= "{ $ indent }{ $ tab }" ;
260
260
}
261
261
262
262
$ code .= "new \\" . $ this ->getClassName () . "( " ;
@@ -271,40 +271,40 @@ public function compile(
271
271
if (array_key_exists ("class " , $ constructorArgument )) {
272
272
$ definition = $ compilation ->getDefinition ($ constructorArgument ["class " ]);
273
273
274
- $ code .= "\n$ { constructorIndent}$ { tab}" . $ this ->compileEntryReference (
274
+ $ code .= "\n{ $ constructorIndent }{ $ tab }" . $ this ->compileEntryReference (
275
275
$ definition ,
276
276
$ compilation ,
277
277
$ constructorIndentationLevel + 1 ,
278
278
$ preloadedClasses
279
279
) . ", " ;
280
280
} elseif (array_key_exists ("value " , $ constructorArgument )) {
281
- $ code .= "\n$ { constructorIndent}$ { tab}" . $ this ->serializeValue ($ constructorArgument ["value " ]) . ", " ;
281
+ $ code .= "\n{ $ constructorIndent }{ $ tab }" . $ this ->serializeValue ($ constructorArgument ["value " ]) . ", " ;
282
282
}
283
283
}
284
284
285
285
if ($ hasConstructorArguments ) {
286
- $ code .= "\n$ { constructorIndent}) " ;
286
+ $ code .= "\n{ $ constructorIndent }) " ;
287
287
}
288
288
289
289
if ($ hasProperties ) {
290
290
$ code .= ", \n" ;
291
- $ code .= "$ { indent}$ { tab}[ \n" ;
291
+ $ code .= "{ $ indent }{ $ tab }[ \n" ;
292
292
foreach ($ this ->properties as $ propertyName => $ property ) {
293
293
if (array_key_exists ("class " , $ property )) {
294
294
$ definition = $ compilation ->getDefinition ($ property ["class " ]);
295
295
296
- $ code .= "$ { indent}$ { tab}$ { tab}' $ propertyName' => " . $ this ->compileEntryReference (
296
+ $ code .= "{ $ indent }{ $ tab }{ $ tab }' $ propertyName' => " . $ this ->compileEntryReference (
297
297
$ definition ,
298
298
$ compilation ,
299
299
$ indentationLevel + 2 ,
300
300
$ preloadedClasses
301
301
) . ", \n" ;
302
302
} elseif (array_key_exists ("value " , $ property )) {
303
- $ code .= "$ { indent}$ { tab}$ { tab}' $ propertyName' => " . $ this ->serializeValue ($ property ["value " ]) . ", \n" ;
303
+ $ code .= "{ $ indent }{ $ tab }{ $ tab }' $ propertyName' => " . $ this ->serializeValue ($ property ["value " ]) . ", \n" ;
304
304
}
305
305
}
306
- $ code .= "$ { indent}$ { tab}] \n" ;
307
- $ code .= "$ { indent}) " ;
306
+ $ code .= "{ $ indent }{ $ tab }] \n" ;
307
+ $ code .= "{ $ indent }) " ;
308
308
}
309
309
310
310
if ($ inline === false ) {
0 commit comments