Passed
Push — master ( 08d0fa...a886df )
by Fabio
06:03
created
framework/Exceptions/TException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 	 */
72 72
 	public function __construct($errorCode, $errorMessage = null, ...$args)
73 73
 	{
74
-		if(!is_int($errorCode)) {
74
+		if (!is_int($errorCode)) {
75 75
 			//assume old code
76 76
 			if ($errorMessage !== null || !empty($args)) {
77 77
 				array_unshift($args, $errorMessage);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 		$errorMessage = $this->translateErrorMessage($errorMessage);
84 84
 		$n = count($args);
85 85
 		$previous = null;
86
-		if($n > 0 && ($args[$n - 1] instanceof Throwable)) {
86
+		if ($n > 0 && ($args[$n - 1] instanceof Throwable)) {
87 87
 			$previous = array_pop($args);
88 88
 			$n--;
89 89
 		}
Please login to merge, or discard this patch.