File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ private function getFileUploadError(int $errorCode)
153153 $ messageParameters = [];
154154
155155 if (\UPLOAD_ERR_INI_SIZE === $ errorCode ) {
156- list ( $ limitAsString , $ suffix) = $ this ->factorizeSizes (0 , self ::getMaxFilesize ());
156+ [ $ limitAsString , $ suffix] = $ this ->factorizeSizes (0 , self ::getMaxFilesize ());
157157 $ messageTemplate = 'The file is too large. Allowed maximum size is {{ limit }} {{ suffix }}. ' ;
158158 $ messageParameters = [
159159 '{{ limit }} ' => $ limitAsString ,
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ public function getIterator()
228228 */
229229 private function resolveChild (string $ name ): FormBuilderInterface
230230 {
231- list ( $ type , $ options) = $ this ->unresolvedChildren [$ name ];
231+ [ $ type , $ options] = $ this ->unresolvedChildren [$ name ];
232232
233233 unset($ this ->unresolvedChildren [$ name ]);
234234
You can’t perform that action at this time.
0 commit comments