original_string: private function validateUploadedFiles(array $uploadedFiles)
      {
          foreach ($uploadedFiles as $file) {
              if (is_array($file)) {
                  $this->validateUploadedFiles($file);
              } elseif (!$file instanceof UploadedFileInterface) {
                  throw new InvalidArgumentException('Invalid entry in uploaded files structure');
              }
          }
      }
code: private function validateUploadedFiles(array $uploadedFiles)
      {
          foreach ($uploadedFiles as $file) {
              if (is_array($file)) {
                  $this->validateUploadedFiles($file);
              } elseif (!$file instanceof UploadedFileInterface) {
                  throw new InvalidArgumentException('Invalid entry in uploaded files structure');
              }
          }
      }
code_tokens: private function validateUploadedFiles ( array $ uploadedFiles ) { foreach ( $ uploadedFiles as $ file ) { if ( is_array ( $ file ) ) { $ this -> validateUploadedFiles ( $ file ) ; } elseif ( ! $ file instanceof UploadedFileInterface ) { throw new InvalidArgumentException ( 'Invalid entry in uploaded files structure' ) ; } } }
docstring: Validate the structure in an uploaded files array.
  
  @param array $uploadedFiles
  
  @throws InvalidArgumentException if any entry is not an UploadedFileInterface instance.
docstring_tokens: Validate the structure in an uploaded files array .