Completed
Push — master ( e0e6fe...00e365 )
by Michal
02:51
created
src/Expressions/Ternary.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,14 +29,14 @@
 block discarded – undo
29 29
         return true;
30 30
     }
31 31
 
32
-    public function operateTernary(\SimpleMath\Stack $stack, $variables=array()) {
32
+    public function operateTernary(\SimpleMath\Stack $stack, $variables = array()) {
33 33
         $right = $stack->pop()->operate($stack, $variables);
34 34
         $left = $stack->pop()->operate($stack, $variables);
35 35
         return array($left, $right);
36 36
     }
37 37
 
38
-    public function operate(\SimpleMath\Stack $stack, $variables=array()) {
39
-        if (! $this->isOpen()) {
38
+    public function operate(\SimpleMath\Stack $stack, $variables = array()) {
39
+        if (!$this->isOpen()) {
40 40
             throw new \RuntimeException('Mismatched ternary operator!');
41 41
         } else {
42 42
             $right = $stack->pop();
Please login to merge, or discard this patch.