Passed
Push — master ( 8a1e27...a72f33 )
by Artem
02:43
created
src/Providers/BitrixMainProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     protected function initGlobalObjects(): void
35 35
     {
36
-        container()->singleton('CMain', function () {
36
+        container()->singleton('CMain', function() {
37 37
             if (empty($GLOBALS['APPLICATION'])) {
38 38
                 throw new \RuntimeException('Bitrix is not initialized');
39 39
             }
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             return $GLOBALS['APPLICATION'];
42 42
         });
43 43
 
44
-        container()->singleton('CUser', function () {
44
+        container()->singleton('CUser', function() {
45 45
             if (empty($GLOBALS['USER'])) {
46 46
                 throw new \RuntimeException('Bitrix is not initialized');
47 47
             }
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             return $GLOBALS['USER'];
50 50
         });
51 51
 
52
-        container()->singleton('\Bitrix\Main\Application', function () {
52
+        container()->singleton('\Bitrix\Main\Application', function() {
53 53
             return \Bitrix\Main\Application::getInstance();
54 54
         });
55 55
     }
Please login to merge, or discard this patch.
src/Filesystem/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      * @param	string	$newname
41 41
      * @return	bool
42 42
      */
43
-    public function rename(string $oldname , string $newname): bool
43
+    public function rename(string $oldname, string $newname): bool
44 44
     {
45 45
         return rename($oldname, $newname);
46 46
     }
Please login to merge, or discard this patch.