Skip to content
Snippets Groups Projects

Wrong return type

Open Pierre Rudloff requested to merge issue/migrate_file-3349967:3349967- into 2.1.x
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -346,7 +346,7 @@ class FileImport extends FileCopy {
* @param string $destination
* The destination URI.
*
* @return boolean
* @return string
* Whether or not the file exists.
*/
protected function getDestinationFilePath($source, $destination) {
@@ -369,7 +369,7 @@ class FileImport extends FileCopy {
* @param boolean $set_permanent
* Whether or not to set the file as permanent if it is currently temporary.
*
* @return \Drupal\file\FileInterface
* @return \Drupal\file\FileInterface|null
* The matching file entity or NULL if no entity exists.
*/
protected function getExistingFileEntity($destination, $set_permanent = TRUE) {
Loading