@@ -89,7 +89,7 @@ |
||
89 | 89 | { |
90 | 90 | if (defined('self::GUARD_NAMESPACE')) { |
91 | 91 | //Yay! Isolation |
92 | - $permission = constant(get_called_class() . '::' . 'GUARD_NAMESPACE') . '.' . $permission; |
|
92 | + $permission = constant(get_called_class().'::'.'GUARD_NAMESPACE').'.'.$permission; |
|
93 | 93 | } |
94 | 94 | |
95 | 95 | return $permission; |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | $arguments[0] = $this->prepare($arguments[0]); |
130 | 130 | |
131 | 131 | //Routing where |
132 | - call_user_func_array([$this->query, 'and' . ucfirst($this->target)], $arguments); |
|
132 | + call_user_func_array([$this->query, 'and'.ucfirst($this->target)], $arguments); |
|
133 | 133 | |
134 | 134 | return $this; |
135 | 135 | } |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | $arguments[0] = $this->prepare($arguments[0]); |
160 | 160 | |
161 | 161 | //Routing where |
162 | - call_user_func_array([$this->query, 'or' . ucfirst($this->target)], $arguments); |
|
162 | + call_user_func_array([$this->query, 'or'.ucfirst($this->target)], $arguments); |
|
163 | 163 | |
164 | 164 | return $this; |
165 | 165 | } |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | $aggregationType = isset($type[Document::ONE]) ? Document::ONE : Document::MANY; |
176 | 176 | |
177 | 177 | $result[$field] = new AggregationDefinition( |
178 | - $aggregationType, //Aggregation type |
|
178 | + $aggregationType, //Aggregation type |
|
179 | 179 | $type[$aggregationType], //Class name |
180 | 180 | array_pop($type) //Query template |
181 | 181 | ); |
@@ -362,7 +362,7 @@ discard block |
||
362 | 362 | if ( |
363 | 363 | is_array($type) |
364 | 364 | && is_scalar($type[0]) |
365 | - && $filter = $this->mutators->getMutators('array::' . $type[0]) |
|
365 | + && $filter = $this->mutators->getMutators('array::'.$type[0]) |
|
366 | 366 | ) { |
367 | 367 | //Mutator associated to array with specified type |
368 | 368 | $resolved += $filter; |