Passed
Branch master (a2c9fd)
by Sebastiaan
02:11
created
src/Event.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,6 +101,9 @@  discard block
 block discarded – undo
101 101
      */
102 102
     public $description;
103 103
 
104
+    /**
105
+     * @param string $command
106
+     */
104 107
     public function __construct(/* string */ $command)
105 108
     {
106 109
         Assert::stringNotEmpty($command);
@@ -324,7 +327,7 @@  discard block
 block discarded – undo
324 327
     /**
325 328
      * Set which user the command should run as.
326 329
      *
327
-     * @param  string?  $user
330
+     * @param  string  $user
328 331
      * @return $this
329 332
      */
330 333
     public function asUser(/* string? */ $user)
@@ -514,7 +517,7 @@  discard block
 block discarded – undo
514 517
     /**
515 518
      * Set the hour when the job should run (0-23, *, *\/2, etc)
516 519
      *
517
-     * @param  string|int $hour
520
+     * @param  integer $hour
518 521
      * @return Event
519 522
      */
520 523
     public function hour($hour)
Please login to merge, or discard this patch.