Passed
Push — master ( 2f87b4...a0f968 )
by MusikAnimal
05:26
created
src/Xtools/Project.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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()
Please login to merge, or discard this patch.