Completed
Pull Request — master (#12)
by Paweł
109:38
created
src/Operation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -286,9 +286,9 @@
 block discarded – undo
286 286
         if ($this->isRunning === null || $this->isRunning === true) {
287 287
             if ($processId = $this->getProcessId()) {
288 288
                 if (OperatingSystem::isWindows()) {
289
-                    $this->isRunning = !empty(shell_exec('powershell.exe -Command "Get-CimInstance -Class Win32_Process -Filter \'processid=' . $processId . '\'"'));
289
+                    $this->isRunning = !empty(shell_exec('powershell.exe -Command "Get-CimInstance -Class Win32_Process -Filter \'processid='.$processId.'\'"'));
290 290
                 } else {
291
-                    $this->isRunning = (bool)posix_getsid($processId);
291
+                    $this->isRunning = (bool) posix_getsid($processId);
292 292
                 }
293 293
             }
294 294
         }
Please login to merge, or discard this patch.