Skip to content

Commit f9ddc06

Browse files
Merge branch '3.4' into 4.3
* 3.4: [Routing] Add a param annotation for $annot. [DI] fix docblock Add missing translations for Armenian locale [Process] Doc block backport. Fix some docblocks.
2 parents b856d8b + 60838d6 commit f9ddc06

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Process.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public function run(callable $callback = null, array $env = []): int
242242
* This is identical to run() except that an exception is thrown if the process
243243
* exits with a non-zero exit code.
244244
*
245-
* @return self
245+
* @return $this
246246
*
247247
* @throws ProcessFailedException if the process didn't terminate successfully
248248
*
@@ -966,7 +966,7 @@ public function getCommandLine()
966966
*
967967
* @param string|array $commandline The command to execute
968968
*
969-
* @return self The current Process instance
969+
* @return $this
970970
*
971971
* @deprecated since Symfony 4.2.
972972
*/
@@ -1000,13 +1000,13 @@ public function getIdleTimeout()
10001000
}
10011001

10021002
/**
1003-
* Sets the process timeout (max. runtime).
1003+
* Sets the process timeout (max. runtime) in seconds.
10041004
*
10051005
* To disable the timeout, set this value to null.
10061006
*
10071007
* @param int|float|null $timeout The timeout in seconds
10081008
*
1009-
* @return self The current Process instance
1009+
* @return $this
10101010
*
10111011
* @throws InvalidArgumentException if the timeout is negative
10121012
*/
@@ -1024,7 +1024,7 @@ public function setTimeout($timeout)
10241024
*
10251025
* @param int|float|null $timeout The timeout in seconds
10261026
*
1027-
* @return self The current Process instance
1027+
* @return $this
10281028
*
10291029
* @throws LogicException if the output is disabled
10301030
* @throws InvalidArgumentException if the timeout is negative
@@ -1045,7 +1045,7 @@ public function setIdleTimeout($timeout)
10451045
*
10461046
* @param bool $tty True to enabled and false to disable
10471047
*
1048-
* @return self The current Process instance
1048+
* @return $this
10491049
*
10501050
* @throws RuntimeException In case the TTY mode is not supported
10511051
*/
@@ -1079,7 +1079,7 @@ public function isTty()
10791079
*
10801080
* @param bool $bool
10811081
*
1082-
* @return self
1082+
* @return $this
10831083
*/
10841084
public function setPty($bool)
10851085
{
@@ -1119,7 +1119,7 @@ public function getWorkingDirectory()
11191119
*
11201120
* @param string $cwd The new working directory
11211121
*
1122-
* @return self The current Process instance
1122+
* @return $this
11231123
*/
11241124
public function setWorkingDirectory($cwd)
11251125
{
@@ -1151,7 +1151,7 @@ public function getEnv()
11511151
*
11521152
* @param array $env The new environment variables
11531153
*
1154-
* @return self The current Process instance
1154+
* @return $this
11551155
*/
11561156
public function setEnv(array $env)
11571157
{
@@ -1182,7 +1182,7 @@ public function getInput()
11821182
*
11831183
* @param string|int|float|bool|resource|\Traversable|null $input The content
11841184
*
1185-
* @return self The current Process instance
1185+
* @return $this
11861186
*
11871187
* @throws LogicException In case the process is running
11881188
*/
@@ -1202,7 +1202,7 @@ public function setInput($input)
12021202
*
12031203
* @param bool $inheritEnv
12041204
*
1205-
* @return self The current Process instance
1205+
* @return $this
12061206
*/
12071207
public function inheritEnvironmentVariables($inheritEnv = true)
12081208
{

0 commit comments

Comments
 (0)