File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -270,9 +270,8 @@ private function getLazySerializeCode(string $propertyAccess): string
270
270
if ($ shouldFlatten ) {
271
271
$ rows [] = trim ($ descriptor ->getLazySerializeCode ($ propertyAccess ), '[] ' );
272
272
} else {
273
- $ varName = $ descriptor ->getSafeVariableName ();
274
- $ lazySerializeCode = $ descriptor ->getLazySerializeCode ($ varName );
275
- $ rows [] = "' $ indexName' => ( $ varName = $ propertyAccess-> $ columnGetterName()) ? $ lazySerializeCode : null " ;
273
+ $ lazySerializeCode = $ descriptor ->getLazySerializeCode ("$ propertyAccess-> $ columnGetterName() " );
274
+ $ rows [] = "' $ indexName' => $ lazySerializeCode " ;
276
275
}
277
276
} elseif ($ descriptor instanceof ScalarBeanPropertyDescriptor) {
278
277
$ rows [] = "' $ indexName' => $ propertyAccess-> $ columnGetterName() " ;
You can’t perform that action at this time.
0 commit comments