You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ProcessHandler.php
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,8 @@ class ProcessHandler
9
9
{
10
10
/**
11
11
* @param string $command
12
-
* @return boolean
12
+
*
13
+
* @return bool
13
14
*/
14
15
publicfunctionrun(string$command): bool
15
16
{
@@ -18,6 +19,7 @@ public function run(string $command): bool
18
19
19
20
if ($process->getExitCode() !== 0) {
20
21
Log::error(sprintf('Failure in the processor. Please verify if the command is recognized. Exit code text returned: "%s". Error output: %s', $process->getExitCodeText(), $process->getErrorOutput()));
22
+
21
23
returnfalse;
22
24
}
23
25
@@ -26,6 +28,7 @@ public function run(string $command): bool
26
28
27
29
/**
28
30
* @param array $command
31
+
*
29
32
* @return bool
30
33
*/
31
34
publicstaticfunctionrunArray(array$command): bool
@@ -35,6 +38,7 @@ public static function runArray(array $command): bool
35
38
36
39
if ($process->getExitCode() !== 0) {
37
40
Log::error(sprintf('Failure in the processor. Please verify if the command is recognized. Exit code text returned: "%s". Error output: %s', $process->getExitCodeText(), $process->getErrorOutput()));
0 commit comments