@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | */ |
| 137 | 137 | public function getUrl($withTrailingSlash = true) |
| 138 | 138 | { |
| 139 | - return rtrim($this->getBasicInfo()['url'], '/') . ($withTrailingSlash ? '/' : ''); |
|
| 139 | + return rtrim($this->getBasicInfo()['url'], '/').($withTrailingSlash ? '/' : ''); |
|
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | /** |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | $metadata = $this->getMetadata(); |
| 194 | 194 | return isset($metadata['general']['script']) |
| 195 | 195 | ? $metadata['general']['script'] |
| 196 | - : $this->getScriptPath() . '/index.php'; |
|
| 196 | + : $this->getScriptPath().'/index.php'; |
|
| 197 | 197 | } |
| 198 | 198 | |
| 199 | 199 | /** |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | */ |
| 204 | 204 | public function getApiUrl() |
| 205 | 205 | { |
| 206 | - return rtrim($this->getUrl(), '/') . $this->getRepository()->getApiPath(); |
|
| 206 | + return rtrim($this->getUrl(), '/').$this->getRepository()->getApiPath(); |
|
| 207 | 207 | } |
| 208 | 208 | |
| 209 | 209 | /** |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | */ |
| 268 | 268 | public function userOptInPage(User $user) |
| 269 | 269 | { |
| 270 | - $localPageName = 'User:' . $user->getUsername() . '/EditCounterOptIn.js'; |
|
| 270 | + $localPageName = 'User:'.$user->getUsername().'/EditCounterOptIn.js'; |
|
| 271 | 271 | return $localPageName; |
| 272 | 272 | } |
| 273 | 273 | |
@@ -302,7 +302,7 @@ discard block |
||
| 302 | 302 | } |
| 303 | 303 | |
| 304 | 304 | // 4. Lastly, see if they've opted in globally on the default project or Meta. |
| 305 | - $globalPageName = $user->getUsername() . '/EditCounterGlobalOptIn.js'; |
|
| 305 | + $globalPageName = $user->getUsername().'/EditCounterGlobalOptIn.js'; |
|
| 306 | 306 | $globalProject = $this->getRepository()->getGlobalProject(); |
| 307 | 307 | if ($globalProject instanceof Project) { |
| 308 | 308 | $globalExists = $globalProject->getRepository() |