@@ -217,7 +217,7 @@ public function run($callback = null/*, array $env = []*/)
217217 * This is identical to run() except that an exception is thrown if the process
218218 * exits with a non-zero exit code.
219219 *
220- * @return self
220+ * @return $this
221221 *
222222 * @throws RuntimeException if PHP was compiled with --enable-sigchild and the enhanced sigchild compatibility mode is not enabled
223223 * @throws ProcessFailedException if the process didn't terminate successfully
@@ -942,7 +942,7 @@ public function getCommandLine()
942942 *
943943 * @param string|array $commandline The command to execute
944944 *
945- * @return self The current Process instance
945+ * @return $this
946946 */
947947 public function setCommandLine ($ commandline )
948948 {
@@ -978,7 +978,7 @@ public function getIdleTimeout()
978978 *
979979 * @param int|float|null $timeout The timeout in seconds
980980 *
981- * @return self The current Process instance
981+ * @return $this
982982 *
983983 * @throws InvalidArgumentException if the timeout is negative
984984 */
@@ -996,7 +996,7 @@ public function setTimeout($timeout)
996996 *
997997 * @param int|float|null $timeout The timeout in seconds
998998 *
999- * @return self The current Process instance
999+ * @return $this
10001000 *
10011001 * @throws LogicException if the output is disabled
10021002 * @throws InvalidArgumentException if the timeout is negative
@@ -1017,7 +1017,7 @@ public function setIdleTimeout($timeout)
10171017 *
10181018 * @param bool $tty True to enabled and false to disable
10191019 *
1020- * @return self The current Process instance
1020+ * @return $this
10211021 *
10221022 * @throws RuntimeException In case the TTY mode is not supported
10231023 */
@@ -1058,7 +1058,7 @@ public function isTty()
10581058 *
10591059 * @param bool $bool
10601060 *
1061- * @return self
1061+ * @return $this
10621062 */
10631063 public function setPty ($ bool )
10641064 {
@@ -1098,7 +1098,7 @@ public function getWorkingDirectory()
10981098 *
10991099 * @param string $cwd The new working directory
11001100 *
1101- * @return self The current Process instance
1101+ * @return $this
11021102 */
11031103 public function setWorkingDirectory ($ cwd )
11041104 {
@@ -1130,7 +1130,7 @@ public function getEnv()
11301130 *
11311131 * @param array $env The new environment variables
11321132 *
1133- * @return self The current Process instance
1133+ * @return $this
11341134 */
11351135 public function setEnv (array $ env )
11361136 {
@@ -1161,7 +1161,7 @@ public function getInput()
11611161 *
11621162 * @param string|int|float|bool|resource|\Traversable|null $input The content
11631163 *
1164- * @return self The current Process instance
1164+ * @return $this
11651165 *
11661166 * @throws LogicException In case the process is running
11671167 */
@@ -1195,7 +1195,7 @@ public function getOptions()
11951195 *
11961196 * @param array $options The new options
11971197 *
1198- * @return self The current Process instance
1198+ * @return $this
11991199 *
12001200 * @deprecated since version 3.3, to be removed in 4.0.
12011201 */
@@ -1229,7 +1229,7 @@ public function getEnhanceWindowsCompatibility()
12291229 *
12301230 * @param bool $enhance
12311231 *
1232- * @return self The current Process instance
1232+ * @return $this
12331233 *
12341234 * @deprecated since version 3.3, to be removed in 4.0. Enhanced Windows compatibility will always be enabled.
12351235 */
@@ -1265,7 +1265,7 @@ public function getEnhanceSigchildCompatibility()
12651265 *
12661266 * @param bool $enhance
12671267 *
1268- * @return self The current Process instance
1268+ * @return $this
12691269 *
12701270 * @deprecated since version 3.3, to be removed in 4.0.
12711271 */
@@ -1283,7 +1283,7 @@ public function setEnhanceSigchildCompatibility($enhance)
12831283 *
12841284 * @param bool $inheritEnv
12851285 *
1286- * @return self The current Process instance
1286+ * @return $this
12871287 */
12881288 public function inheritEnvironmentVariables ($ inheritEnv = true )
12891289 {
0 commit comments