@@ -106,13 +106,13 @@ discard block |
||
| 106 | 106 | * @throws \xobotyi\rsync\Exception\Command |
| 107 | 107 | */ |
| 108 | 108 | public function execute() :self { |
| 109 | - $this->exitCode = 1; // exit 0 on ok |
|
| 110 | - $this->stdout = ''; // output of the command |
|
| 111 | - $this->stderr = ''; // errors during execution |
|
| 109 | + $this->exitCode = 1; // exit 0 on ok |
|
| 110 | + $this->stdout = ''; // output of the command |
|
| 111 | + $this->stderr = ''; // errors during execution |
|
| 112 | 112 | |
| 113 | 113 | $descriptor = [ |
| 114 | - 0 => ["pipe", "r"], // stdin is a pipe that the child will read from |
|
| 115 | - 1 => ["pipe", "w"], // stdout is a pipe that the child will write to |
|
| 114 | + 0 => ["pipe", "r"], // stdin is a pipe that the child will read from |
|
| 115 | + 1 => ["pipe", "w"], // stdout is a pipe that the child will write to |
|
| 116 | 116 | 2 => ["pipe", "w"] // stderr is a pipe |
| 117 | 117 | ]; |
| 118 | 118 | |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | /** |
| 183 | 183 | * @return string|null |
| 184 | 184 | */ |
| 185 | - public function getExitCode() :?string { |
|
| 185 | + public function getExitCode() : ?string { |
|
| 186 | 186 | return $this->exitCode; |
| 187 | 187 | } |
| 188 | 188 | |
@@ -313,7 +313,7 @@ discard block |
||
| 313 | 313 | /** |
| 314 | 314 | * @return string|null |
| 315 | 315 | */ |
| 316 | - public function getStderr() :?string { |
|
| 316 | + public function getStderr() : ?string { |
|
| 317 | 317 | |
| 318 | 318 | return $this->stderr; |
| 319 | 319 | } |
@@ -321,7 +321,7 @@ discard block |
||
| 321 | 321 | /** |
| 322 | 322 | * @return string|null |
| 323 | 323 | */ |
| 324 | - public function getStdout() :?string { |
|
| 324 | + public function getStdout() : ?string { |
|
| 325 | 325 | return $this->stdout; |
| 326 | 326 | } |
| 327 | 327 | |