Completed
Pull Request — master (#17)
by
unknown
04:57
created
Classes/Aspects/ThumbnailAspect.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -120,11 +120,11 @@
 block discarded – undo
120 120
 				}
121 121
 				break;
122 122
 		}
123
-		$binaryPath = $useGlobalBinary === TRUE ? $this->settings['globalBinaryPath'] . $library : $this->packageManager->getPackageOfObject($this)->getResourcesPath() . $binaryRootPath . $binaryPath;
124
-		$cmd = escapeshellcmd($binaryPath) . ' ' . $arguments;
123
+		$binaryPath = $useGlobalBinary === TRUE ? $this->settings['globalBinaryPath'].$library : $this->packageManager->getPackageOfObject($this)->getResourcesPath().$binaryRootPath.$binaryPath;
124
+		$cmd = escapeshellcmd($binaryPath).' '.$arguments;
125 125
 		$output = [];
126 126
 		exec($cmd, $output, $result);
127
-		$this->systemLogger->log($cmd . ' (' . ((int)$result === 0 ? 'OK' : 'Error: ' . $result) . ')', LOG_INFO, $output);
127
+		$this->systemLogger->log($cmd.' ('.((int)$result === 0 ? 'OK' : 'Error: '.$result).')', LOG_INFO, $output);
128 128
 	}
129 129
 
130 130
 }
Please login to merge, or discard this patch.