Completed
Push — master ( 404b10...a09f2b )
by Luke
02:49
created
src/Traits/CartOptionsMagicMethodsTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     {
27 27
         try {
28 28
             return $this->$option;
29
-        } catch(\ErrorException $e) {
29
+        } catch (\ErrorException $e) {
30 30
             return array_get($this->options, $option);
31 31
         }
32 32
     }
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public function __set($option, $value)
44 44
     {
45
-        if(is_callable(array($this, 'generateHash'))) {
45
+        if (is_callable(array($this, 'generateHash'))) {
46 46
            $this->generateHash();
47 47
         }
48 48
 
Please login to merge, or discard this patch.