Completed
Push — master ( da3c95...23a636 )
by
unknown
01:12
created
controllers/AdminController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
         $model = new ConfigureForm();
15 15
         $model->loadSettings();
16 16
 
17
-        if ($model->load(Yii::$app->request->post()) && $model->save()) {
17
+        if ( $model->load(Yii::$app->request->post()) && $model->save() ) {
18 18
             $this->view->saved();
19 19
         }
20 20
 
Please login to merge, or discard this patch.
tests/_support/AcceptanceTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 {
20 20
     use _generated\AcceptanceTesterActions;
21 21
 
22
-   /**
23
-    * Define custom actions here
24
-    */
22
+    /**
23
+     * Define custom actions here
24
+     */
25 25
 }
Please login to merge, or discard this patch.
tests/_support/UnitTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 {
20 20
     use _generated\UnitTesterActions;
21 21
 
22
-   /**
23
-    * Define custom actions here
24
-    */
22
+    /**
23
+     * Define custom actions here
24
+     */
25 25
 }
Please login to merge, or discard this patch.
tests/_support/FunctionalTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 {
22 22
     use _generated\FunctionalTesterActions;
23 23
     
24
-   /**
25
-    * Define custom actions here
26
-    */
24
+    /**
25
+     * Define custom actions here
26
+     */
27 27
 }
Please login to merge, or discard this patch.
widgets/DiscordappFrame.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     {
21 21
         $url = Yii::$app->getModule('discordapp')->getServerUrl() . '/widget?id=';
22 22
 
23
-        if (!$url) {
23
+        if ( ! $url ) {
24 24
             return '';
25 25
         }
26 26
 
Please login to merge, or discard this patch.
Events.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      */
17 17
     public static function onAdminMenuInit($event)
18 18
     {
19
-        if (!Yii::$app->user->can(ManageModules::class)) {
19
+        if ( ! Yii::$app->user->can(ManageModules::class) ) {
20 20
             return;
21 21
         }
22 22
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public static function addDiscordappFrame($event)
39 39
     {
40
-        if (Yii::$app->user->isGuest) {
40
+        if ( Yii::$app->user->isGuest ) {
41 41
             return;
42 42
         }
43 43
 
Please login to merge, or discard this patch.
Module.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     public function getServerUrl()
23 23
     {
24 24
         $url = $this->settings->get('serverUrl');
25
-        if (empty($url)) {
25
+        if ( empty($url) ) {
26 26
             return 'https://discordapp.com' || 'https://discord.com';
27 27
         }
28 28
         return $url;
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     public function getOrder()
32 32
     {
33 33
         $sortOrder = $this->settings->get('sortOrder');
34
-        if (empty($sortOrder)) {
34
+        if ( empty($sortOrder) ) {
35 35
             return '100';
36 36
         }
37 37
         return $sortOrder;
Please login to merge, or discard this patch.