@@ -601,7 +601,7 @@ |
||
601 | 601 | parent::__construct($this->config[self::CONF_EXECUTABLE], $this->config[self::CONF_CWD], '='); |
602 | 602 | } |
603 | 603 | |
604 | - public function getSSH() :?SSH { |
|
604 | + public function getSSH() : ?SSH { |
|
605 | 605 | return $this->config[self::CONF_SSH]; |
606 | 606 | } |
607 | 607 |
@@ -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 | |
@@ -260,21 +260,21 @@ discard block |
||
260 | 260 | /** |
261 | 261 | * @return string|null |
262 | 262 | */ |
263 | - public function getExitCode() :?string { |
|
263 | + public function getExitCode() : ?string { |
|
264 | 264 | return $this->exitCode; |
265 | 265 | } |
266 | 266 | |
267 | 267 | /** |
268 | 268 | * @return string|null |
269 | 269 | */ |
270 | - public function getStdout() :?string { |
|
270 | + public function getStdout() : ?string { |
|
271 | 271 | return $this->stdout; |
272 | 272 | } |
273 | 273 | |
274 | 274 | /** |
275 | 275 | * @return string|null |
276 | 276 | */ |
277 | - public function getStderr() :?string { |
|
277 | + public function getStderr() : ?string { |
|
278 | 278 | |
279 | 279 | return $this->stderr; |
280 | 280 | } |