@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | private function callCreateOnObject($method, $args) |
72 | 72 | { |
73 | 73 | $type = substr($method, 6); |
74 | - $class = '\\Surge\\LaravelSalesforce\\Objects\\' . $type; |
|
74 | + $class = '\\Surge\\LaravelSalesforce\\Objects\\'.$type; |
|
75 | 75 | |
76 | 76 | if (class_exists($class)) { |
77 | 77 | return (new $class($this))->create($args[0]); |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | private function callUpdateOnObject($method, $args) |
84 | 84 | { |
85 | 85 | $type = substr($method, 6); |
86 | - $class = '\\Surge\\LaravelSalesforce\\Objects\\' . $type; |
|
86 | + $class = '\\Surge\\LaravelSalesforce\\Objects\\'.$type; |
|
87 | 87 | |
88 | 88 | if (class_exists($class)) { |
89 | 89 | return (new $class($this))->update($args[0]); |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | private function callDeleteOnObject($method, $args) |
96 | 96 | { |
97 | 97 | $type = substr($method, 6); |
98 | - $class = '\\Surge\\LaravelSalesforce\\Objects\\' . $type; |
|
98 | + $class = '\\Surge\\LaravelSalesforce\\Objects\\'.$type; |
|
99 | 99 | |
100 | 100 | if (class_exists($class)) { |
101 | 101 | return (new $class($this))->delete($args[0]); |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | private function callGetOnObject($method, $args) |
108 | 108 | { |
109 | 109 | $type = substr($method, 3); |
110 | - $class = '\\Surge\\LaravelSalesforce\\Objects\\' . $type; |
|
110 | + $class = '\\Surge\\LaravelSalesforce\\Objects\\'.$type; |
|
111 | 111 | |
112 | 112 | if (class_exists($class)) { |
113 | 113 | return (new $class($this))->get($args[0]); |