| @@ -91,7 +91,7 @@ | ||
| 91 | 91 | /** | 
| 92 | 92 | * Attempt to work out path to a cli executable. | 
| 93 | 93 | * | 
| 94 | - * @param array $paths An array of paths to check against. | |
| 94 | + * @param string[] $paths An array of paths to check against. | |
| 95 | 95 | * | 
| 96 | 96 | * @return string|false The path to the executable. | 
| 97 | 97 | */ | 
| @@ -147,7 +147,7 @@ | ||
| 147 | 147 | * Returns a formatted string containing the calculated total site size or a message | 
| 148 | 148 | * to indicate it is being calculated. | 
| 149 | 149 | * | 
| 150 | - * @param HM\BackUpWordPress\Scheduled_Backup $schedule | |
| 150 | + * @param Scheduled_Backup $schedule | |
| 151 | 151 | * | 
| 152 | 152 | * @return string | 
| 153 | 153 | */ | 
| @@ -158,7 +158,7 @@ discard block | ||
| 158 | 158 | /** | 
| 159 | 159 | * Get the exclude rules | 
| 160 | 160 | * | 
| 161 | - * @return array | |
| 161 | + * @return Excludes | |
| 162 | 162 | */ | 
| 163 | 163 |  	public function get_excludes() { | 
| 164 | 164 | return new Excludes( $this->options['excludes'] ); | 
| @@ -167,7 +167,7 @@ discard block | ||
| 167 | 167 | /** | 
| 168 | 168 | * Set the exclude rules | 
| 169 | 169 | * | 
| 170 | - * @param mixed $excludes A comma separated list or array of exclude rules | |
| 170 | + * @param mixed $exclude_rules A comma separated list or array of exclude rules | |
| 171 | 171 | * @param bool $append Whether to replace or append to existing rules | 
| 172 | 172 | * | 
| 173 | 173 | * @return string | 
| @@ -213,7 +213,7 @@ discard block | ||
| 213 | 213 | * Get the array of services options for this schedule | 
| 214 | 214 | * | 
| 215 | 215 | * @param $service | 
| 216 | - * @param null $option | |
| 216 | + * @param string $option | |
| 217 | 217 | * | 
| 218 | 218 | * @return array | 
| 219 | 219 | */ | 
| @@ -290,6 +290,7 @@ discard block | ||
| 290 | 290 | /** | 
| 291 | 291 | * Get the schedule reoccurrence | 
| 292 | 292 | * | 
| 293 | + * @return string | |
| 293 | 294 | */ | 
| 294 | 295 |  	public function get_reoccurrence() { | 
| 295 | 296 | return $this->options['reoccurrence']; | 
| @@ -460,7 +461,7 @@ discard block | ||
| 460 | 461 | /** | 
| 461 | 462 | * Hook into the actions fired in the Backup class and set the status | 
| 462 | 463 | * | 
| 463 | - * @param $action | |
| 464 | + * @param string $action | |
| 464 | 465 | */ | 
| 465 | 466 |  	public function do_action( $action, Site_Backup $backup ) { | 
| 466 | 467 | |
| @@ -479,6 +480,7 @@ discard block | ||
| 479 | 480 | * Calculate schedule run time. | 
| 480 | 481 | * | 
| 481 | 482 | * @param int Timestamp $end | 
| 483 | + * @param integer $end | |
| 482 | 484 | */ | 
| 483 | 485 |  	public function update_average_schedule_run_time( $start, $end ) { | 
| 484 | 486 | |
| @@ -22,7 +22,7 @@ | ||
| 22 | 22 | * | 
| 23 | 23 | * @param string $type Whether to calculate the size of the database, files | 
| 24 | 24 | * or both. Should be one of 'file', 'database' or 'complete' | 
| 25 | - * @param array $excludes An array of exclude rules | |
| 25 | + * @param Excludes $excludes An array of exclude rules | |
| 26 | 26 | */ | 
| 27 | 27 |  	public function __construct( $type = 'complete', Excludes $excludes = null ) { | 
| 28 | 28 | $this->type = $type; | 
| @@ -258,7 +258,7 @@ | ||
| 258 | 258 | * | 
| 259 | 259 | * @access public | 
| 260 | 260 | * @param Scheduled_Backup $schedule | 
| 261 | - * @return void | |
| 261 | + * @return string|null | |
| 262 | 262 | */ | 
| 263 | 263 |  function schedule_status( Scheduled_Backup $schedule, $echo = true ) { | 
| 264 | 264 | |
| @@ -16,7 +16,7 @@ | ||
| 16 | 16 | protected $name = ''; | 
| 17 | 17 | |
| 18 | 18 | /** | 
| 19 | - * @return boolean Did the requirement pass or fail | |
| 19 | + * @return boolean|null Did the requirement pass or fail | |
| 20 | 20 | */ | 
| 21 | 21 |  	protected static function test() {} | 
| 22 | 22 | |