Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / system / tests / src / Functional / FileTransfer / TestFileTransfer.php
index ca11ad0f5ab53c98db13e11aa6782c94edc6490b..48e57845dd70b03b417b719b01027179835cff3e 100644 (file)
@@ -16,6 +16,8 @@ class TestFileTransfer extends FileTransfer {
 
   /**
    * This is for testing the CopyRecursive logic.
+   *
+   * @var bool
    */
   public $shouldIsDirectoryReturnTrue = FALSE;
 
@@ -46,7 +48,7 @@ class TestFileTransfer extends FileTransfer {
 
   public function removeFileJailed($destination) {
     if (!ftp_delete($this->connection, $item)) {
-      throw new FileTransferException('Unable to remove to file @file.', NULL, ['@file' => $item]);
+      throw new FileTransferException('Unable to remove the file @file.', NULL, ['@file' => $item]);
     }
   }