Passed
Push — 3.0 ( 034c4c...8e0310 )
by Rubén
03:57
created
app/modules/web/Controllers/ConfigMailController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
             $configData->setMailSecurity($mailSecurity);
83 83
             $configData->setMailFrom($mailFrom);
84 84
             $configData->setMailRecipients($mailRecipients);
85
-            $configData->setMailEvents($this->request->analyzeArray('mail_events', function ($items) {
85
+            $configData->setMailEvents($this->request->analyzeArray('mail_events', function($items) {
86 86
                 return ConfigUtil::eventsAdapter($items);
87 87
             }, []));
88 88
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
         return $this->saveConfig(
112 112
             $configData,
113 113
             $this->config,
114
-            function () use ($eventMessage) {
114
+            function() use ($eventMessage) {
115 115
                 $this->eventDispatcher->notifyEvent(
116 116
                     'save.config.mail',
117 117
                     new Event($this, $eventMessage)
Please login to merge, or discard this patch.
app/modules/web/Controllers/Helpers/Grid/PublicLinkGrid.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
         $gridData->addDataRowSource('getDateAddFormat', true);
130 130
         $gridData->addDataRowSource('getDateExpireFormat', true);
131 131
         $gridData->addDataRowSource('userLogin');
132
-        $gridData->addDataRowSource('notify', false, function ($value) {
132
+        $gridData->addDataRowSource('notify', false, function($value) {
133 133
             return $value ? __('ON') : __('OFF');
134 134
         });
135 135
         $gridData->addDataRowSource('getCountViewsString', true);
Please login to merge, or discard this patch.