@@ -59,7 +59,7 @@ |
||
| 59 | 59 | */ |
| 60 | 60 | public function __construct(Parser $parser = null, Runner $runner = null) |
| 61 | 61 | { |
| 62 | - $this->parser = empty($parser) ? new Parser\Vixie() : $parser; |
|
| 62 | + $this->parser = empty($parser) ? new Parser\Vixie() : $parser; |
|
| 63 | 63 | $this->runner = empty($runner) ? new Runner\Simple() : $runner; |
| 64 | 64 | } |
| 65 | 65 | |
@@ -121,7 +121,7 @@ |
||
| 121 | 121 | // pipe both outputs to new crontab |
| 122 | 122 | $pipe = new CliExecutable($this->cmd); |
| 123 | 123 | $pipe->addOptionIfNotEmpty('-u', $this->user, true, ' ') |
| 124 | - ->addOption('-'); |
|
| 124 | + ->addOption('-'); |
|
| 125 | 125 | $line->pipeOutputTo($pipe); |
| 126 | 126 | } |
| 127 | 127 | |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | { |
| 90 | 90 | $doc = ''; |
| 91 | 91 | foreach ($this->comments as $comment) { |
| 92 | - $doc .= '# ' . $comment . PHP_EOL; |
|
| 92 | + $doc .= '# ' . $comment . PHP_EOL; |
|
| 93 | 93 | } |
| 94 | 94 | return $doc; |
| 95 | 95 | } |