@@ -57,7 +57,7 @@ discard block  | 
                                                    ||
| 57 | 57 | */  | 
                                                        
| 58 | 58 | public function to($value)  | 
                                                        
| 59 | 59 |      { | 
                                                        
| 60 | -        if(isset($this->bindings[$this->activeKey])) { | 
                                                        |
| 60 | +        if (isset($this->bindings[$this->activeKey])) { | 
                                                        |
| 61 | 61 | $this->bindings[$this->activeKey]['binding'] = $value;  | 
                                                        
| 62 | 62 |          } else { | 
                                                        
| 63 | 63 | $this->bindings[$this->activeKey] = ['binding' => $value, 'calls' => [], 'properties' => []];  | 
                                                        
@@ -104,16 +104,16 @@ discard block  | 
                                                    ||
| 104 | 104 | */  | 
                                                        
| 105 | 105 | private function setArrayBinding(array $binding)  | 
                                                        
| 106 | 106 |      { | 
                                                        
| 107 | -        if(isset($binding[0])) { | 
                                                        |
| 107 | +        if (isset($binding[0])) { | 
                                                        |
| 108 | 108 | $this->to($binding[0]);  | 
                                                        
| 109 | 109 | }  | 
                                                        
| 110 | 110 | |
| 111 | -        if(isset($binding['calls'])){ | 
                                                        |
| 112 | -            foreach($binding['calls'] as $call) { | 
                                                        |
| 113 | -                if(is_string($call)) { | 
                                                        |
| 111 | +        if (isset($binding['calls'])) { | 
                                                        |
| 112 | +            foreach ($binding['calls'] as $call) { | 
                                                        |
| 113 | +                if (is_string($call)) { | 
                                                        |
| 114 | 114 | $method = $call;  | 
                                                        
| 115 | 115 | $parameters = [];  | 
                                                        
| 116 | -                } else if(is_array($call)) { | 
                                                        |
| 116 | +                } else if (is_array($call)) { | 
                                                        |
| 117 | 117 | $method = array_keys($call)[0];  | 
                                                        
| 118 | 118 | $parameters = $call[$method];  | 
                                                        
| 119 | 119 | }  | 
                                                        
@@ -133,9 +133,9 @@ discard block  | 
                                                    ||
| 133 | 133 | */  | 
                                                        
| 134 | 134 | public function merge(array $bindings)  | 
                                                        
| 135 | 135 |      { | 
                                                        
| 136 | -        foreach($bindings as $key => $binding) { | 
                                                        |
| 136 | +        foreach ($bindings as $key => $binding) { | 
                                                        |
| 137 | 137 | $this->activeKey = $key;  | 
                                                        
| 138 | -            if(is_array($binding)) { | 
                                                        |
| 138 | +            if (is_array($binding)) { | 
                                                        |
| 139 | 139 | $this->setArrayBinding($binding);  | 
                                                        
| 140 | 140 |              } else { | 
                                                        
| 141 | 141 | $this->bindings[$key] = ['binding' => $binding, 'calls' => [], 'properties' => []];  |