@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | */ |
| 80 | 80 | public function getUrl($withTrailingSlash = true) |
| 81 | 81 | { |
| 82 | - return rtrim($this->getMetadata()['url'], '/') . ($withTrailingSlash ? '/' : ''); |
|
| 82 | + return rtrim($this->getMetadata()['url'], '/').($withTrailingSlash ? '/' : ''); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | /** |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | */ |
| 153 | 153 | public function userOptInPage(User $user) |
| 154 | 154 | { |
| 155 | - $localPageName = $user->getUsername() . '/EditCounterOptIn.js'; |
|
| 155 | + $localPageName = $user->getUsername().'/EditCounterOptIn.js'; |
|
| 156 | 156 | return $localPageName; |
| 157 | 157 | } |
| 158 | 158 | |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | } |
| 182 | 182 | |
| 183 | 183 | // 3. Lastly, see if they've opted in globally on the default project or Meta. |
| 184 | - $globalPageName = $user->getUsername() . '/EditCounterGlobalOptIn.js'; |
|
| 184 | + $globalPageName = $user->getUsername().'/EditCounterGlobalOptIn.js'; |
|
| 185 | 185 | $globalProject = $this->getRepository()->getGlobalProject(); |
| 186 | 186 | $globalExists = $globalProject->getRepository() |
| 187 | 187 | ->pageHasContent($globalProject, $userNsId, $globalPageName); |