@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | */ |
91 | 91 | public function getUrl($withTrailingSlash = true) |
92 | 92 | { |
93 | - return rtrim($this->getMetadata()['url'], '/') . ($withTrailingSlash ? '/' : ''); |
|
93 | + return rtrim($this->getMetadata()['url'], '/').($withTrailingSlash ? '/' : ''); |
|
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | $metadata = $this->getRepository()->getMetadata($this->getUrl()); |
148 | 148 | return isset($metadata['general']['script']) |
149 | 149 | ? $metadata['general']['script'] |
150 | - : $this->getScriptPath() . '/index.php'; |
|
150 | + : $this->getScriptPath().'/index.php'; |
|
151 | 151 | } |
152 | 152 | |
153 | 153 | /** |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | */ |
158 | 158 | public function getApiUrl() |
159 | 159 | { |
160 | - return rtrim($this->getUrl(), '/') . $this->getRepository()->getApiPath(); |
|
160 | + return rtrim($this->getUrl(), '/').$this->getRepository()->getApiPath(); |
|
161 | 161 | } |
162 | 162 | |
163 | 163 | /** |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | */ |
190 | 190 | public function userOptInPage(User $user) |
191 | 191 | { |
192 | - $localPageName = 'User:' . $user->getUsername() . '/EditCounterOptIn.js'; |
|
192 | + $localPageName = 'User:'.$user->getUsername().'/EditCounterOptIn.js'; |
|
193 | 193 | return $localPageName; |
194 | 194 | } |
195 | 195 | |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | } |
224 | 224 | |
225 | 225 | // 4. Lastly, see if they've opted in globally on the default project or Meta. |
226 | - $globalPageName = $user->getUsername() . '/EditCounterGlobalOptIn.js'; |
|
226 | + $globalPageName = $user->getUsername().'/EditCounterGlobalOptIn.js'; |
|
227 | 227 | $globalProject = $this->getRepository()->getGlobalProject(); |
228 | 228 | if ($globalProject instanceof Project) { |
229 | 229 | $globalExists = $globalProject->getRepository() |