Check if the variable is an array before accessing it as such
Check if the variable is an array before accessing it as such

the current code leads to an error when the argument is of type Neos\Http\Factories\FlowUploadedFile
daniellienert/flow-development-collection,daniellienert/flow-development-collection,fcool/flow-development-collection,kdambekalns/flow-development-collection,daniellienert/flow-development-collection,robertlemke/flow-development-collection,neos/flow-development-collection,neos/flow-development-collection,kdambekalns/flow-development-collection,fcool/flow-development-collection,robertlemke/flow-development-collection,robertlemke/flow-development-collection,fcool/flow-development-collection,neos/flow-development-collection,kdambekalns/flow-development-collection,robertlemke/flow-development-collection,fcool/flow-development-collection,kdambekalns/flow-development-collection,neos/flow-development-collection