Passed
Push — master ( 6bb4d5...0793df )
by Artem
46s queued 11s
created
src/Providers/AbstractEventServiceProvider.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
     public function register(): void
22 22
     {
23
-        if (! empty($this->events)) {
23
+        if (!empty($this->events)) {
24 24
             $this->bindEvents();
25 25
         }
26 26
     }
Please login to merge, or discard this patch.
src/Providers/BitrixMainProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     protected function initGlobalObjects(): void
38 38
     {
39
-        container()->singleton('CMain', function () {
39
+        container()->singleton('CMain', function() {
40 40
             if (empty($GLOBALS['APPLICATION'])) {
41 41
                 throw new \RuntimeException('Bitrix is not initialized');
42 42
             }
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             return $GLOBALS['APPLICATION'];
45 45
         });
46 46
 
47
-        container()->singleton('CUser', function () {
47
+        container()->singleton('CUser', function() {
48 48
             if (empty($GLOBALS['USER'])) {
49 49
                 throw new \RuntimeException('Bitrix is not initialized');
50 50
             }
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
             return $GLOBALS['USER'];
53 53
         });
54 54
 
55
-        container()->singleton('\Bitrix\Main\Application', function () {
55
+        container()->singleton('\Bitrix\Main\Application', function() {
56 56
             return \Bitrix\Main\Application::getInstance();
57 57
         });
58 58
 
59
-        container()->singleton('\Bitrix\Main\EventManager', function () {
59
+        container()->singleton('\Bitrix\Main\EventManager', function() {
60 60
             return \Bitrix\Main\EventManager::getInstance();
61 61
         });
62 62
     }
Please login to merge, or discard this patch.