Completed
Pull Request — 1.4 (#140)
by
unknown
07:08
created
src/Indatus/Dispatcher/Debugger.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      * Indicate why a command was not run
27 27
      *
28 28
      * @param ScheduledCommandInterface $command
29
-     * @param                           $reason
29
+     * @param                           string $reason
30 30
      */
31 31
     public function commandNotRun(ScheduledCommandInterface $command, $reason) {
32 32
         if ($this->optionReader->isDebugMode()) {
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      * Indicate why a command has run
39 39
      *
40 40
      * @param ScheduledCommandInterface $command
41
-     * @param                           $runCommand
41
+     * @param                           string $runCommand
42 42
      */
43 43
     public function commandRun(ScheduledCommandInterface $command, $runCommand) {
44 44
         if ($this->optionReader->isDebugMode()) {
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Log plain text
51 51
      *
52
-     * @param $message
52
+     * @param string $message
53 53
      */
54 54
     public function log($message)
55 55
     {
Please login to merge, or discard this patch.
src/Indatus/Dispatcher/Scheduling/ScheduledCommand.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * User to run the command as
27 27
      *
28
-     * @return string Defaults to false to run as default user
28
+     * @return boolean Defaults to false to run as default user
29 29
      */
30 30
     public function user()
31 31
     {
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * Environment(s) under which the given command should run
37 37
      *
38
-     * @return string|array
38
+     * @return string
39 39
      */
40 40
     public function environment()
41 41
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-use App;
13 12
 use Illuminate\Console\Command;
14 13
 
15 14
 abstract class ScheduledCommand extends Command implements ScheduledCommandInterface
Please login to merge, or discard this patch.
src/Indatus/Dispatcher/Services/CommandService.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,6 @@
 block discarded – undo
13 13
 use Illuminate\Console\Command;
14 14
 use Indatus\Dispatcher\Commands\Run;
15 15
 use Indatus\Dispatcher\Debugger;
16
-use Indatus\Dispatcher\OptionReader;
17
-use Indatus\Dispatcher\Scheduling\ScheduledCommand;
18 16
 use Indatus\Dispatcher\Scheduling\ScheduledCommandInterface;
19 17
 use Config;
20 18
 
Please login to merge, or discard this patch.