Completed
Pull Request — master (#168)
by
unknown
02:57
created
Tests/Functional/Settings/SettingsManagerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,9 +181,9 @@
 block discarded – undo
181 181
     private function getSetting($name, $type, $value, $profile = 'default')
182 182
     {
183 183
         $setting = new Setting();
184
-        $setting->setId($profile . '_' . $name);
184
+        $setting->setId($profile.'_'.$name);
185 185
         $setting->setName($name);
186
-        $setting->setDescription('ongr_settings.' . $name);
186
+        $setting->setDescription('ongr_settings.'.$name);
187 187
         $setting->setProfile($profile);
188 188
         $setting->setType($type);
189 189
         $setting->setData(['value' => $value]);
Please login to merge, or discard this patch.
Settings/Personal/PersonalSettingsManager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     }
67 67
 
68 68
     /**
69
-     * @return array
69
+     * @return string[]
70 70
      */
71 71
     public function getFirewallsDetails()
72 72
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -221,13 +221,13 @@
 block discarded – undo
221 221
     private function getStashName($user)
222 222
     {
223 223
         $property = $this->guessPropertyOrMethodName($user);
224
-        $stashName =  self::STASH_NAME.'_';
224
+        $stashName = self::STASH_NAME.'_';
225 225
         try {
226 226
             if ($property[0] == 'public') {
227
-                $stashName = $stashName . $user->$property[1];
227
+                $stashName = $stashName.$user->$property[1];
228 228
             } else {
229 229
                 $method = $property[1];
230
-                $stashName = $stashName . $user->$method();
230
+                $stashName = $stashName.$user->$method();
231 231
             }
232 232
             $this->stash = $stashName;
233 233
             return $stashName;
Please login to merge, or discard this patch.