GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Branch dev (76c677)
by Liuta
01:52
created
includes/class-xcloner-encryption.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * Returns the filename with encrypted suffix
72 72
      *
73
-     * @param $filename
73
+     * @param string $filename
74 74
      * @return string
75 75
      */
76 76
     public function get_encrypted_target_backup_file_name( $filename ) {
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * Returns the filename without encrypted suffix
83 83
      *
84
-     * @param $filename
84
+     * @param string $filename
85 85
      * @return string
86 86
      */
87 87
     public function get_decrypted_target_backup_file_name( $filename ) {
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      * @param string $dest   File name where the encryped file should be written to.
97 97
      * @param string $key    The key used for the encryption
98 98
      * @param int $start   Start position for reading when doing incremental mode.
99
-     * @param string $iv   The IV key to use.
99
+     * @param integer $iv   The IV key to use.
100 100
      * @param bool $verification   Weather we should we try to verify the decryption.
101 101
      * @return string|false  Returns the file name that has been created or FALSE if an error occured
102 102
     */
@@ -206,6 +206,9 @@  discard block
 block discarded – undo
206 206
         return array("target_file" => $dest, "finished" => 1);
207 207
     }
208 208
 
209
+    /**
210
+     * @param string $file
211
+     */
209 212
     public function verify_encrypted_file($file) {
210 213
         if(is_object($this->logger)) {
211 214
             $this->logger->info(sprintf('Verifying encrypted file %s', $file));
@@ -224,7 +227,7 @@  discard block
 block discarded – undo
224 227
      * @param string $dest   File name where the decryped file should be written to.
225 228
      * @param string $key    The key used for the decryption (must be the same as for encryption)
226 229
      * @param int $start   Start position for reading when doing incremental mode.
227
-     * @param string $iv   The IV key to use.
230
+     * @param integer $iv   The IV key to use.
228 231
      * @return string|false  Returns the file name that has been created or FALSE if an error occured
229 232
      */
230 233
     public function decrypt_file($source, $dest = "", $key = "", $start = 0, $iv = 0, $recursive = false)
Please login to merge, or discard this patch.