Passed
Push — master ( e56ffe...8f5321 )
by John
11:20 queued 13s
created
core/Controller/OCJSController.php 1 patch
Indentation   +57 added lines, -57 removed lines patch added patch discarded remove patch
@@ -46,65 +46,65 @@
 block discarded – undo
46 46
 
47 47
 class OCJSController extends Controller {
48 48
 
49
-	/** @var JSConfigHelper */
50
-	private $helper;
49
+    /** @var JSConfigHelper */
50
+    private $helper;
51 51
 
52
-	/**
53
-	 * OCJSController constructor.
54
-	 *
55
-	 * @param string $appName
56
-	 * @param IRequest $request
57
-	 * @param IFactory $l10nFactory
58
-	 * @param Defaults $defaults
59
-	 * @param IAppManager $appManager
60
-	 * @param ISession $session
61
-	 * @param IUserSession $userSession
62
-	 * @param IConfig $config
63
-	 * @param IGroupManager $groupManager
64
-	 * @param IniGetWrapper $iniWrapper
65
-	 * @param IURLGenerator $urlGenerator
66
-	 * @param CapabilitiesManager $capabilitiesManager
67
-	 * @param IInitialStateService $initialStateService
68
-	 */
69
-	public function __construct($appName,
70
-								IRequest $request,
71
-								IFactory $l10nFactory,
72
-								Defaults $defaults,
73
-								IAppManager $appManager,
74
-								ISession $session,
75
-								IUserSession $userSession,
76
-								IConfig $config,
77
-								IGroupManager $groupManager,
78
-								IniGetWrapper $iniWrapper,
79
-								IURLGenerator $urlGenerator,
80
-								CapabilitiesManager $capabilitiesManager,
81
-								IInitialStateService $initialStateService) {
82
-		parent::__construct($appName, $request);
52
+    /**
53
+     * OCJSController constructor.
54
+     *
55
+     * @param string $appName
56
+     * @param IRequest $request
57
+     * @param IFactory $l10nFactory
58
+     * @param Defaults $defaults
59
+     * @param IAppManager $appManager
60
+     * @param ISession $session
61
+     * @param IUserSession $userSession
62
+     * @param IConfig $config
63
+     * @param IGroupManager $groupManager
64
+     * @param IniGetWrapper $iniWrapper
65
+     * @param IURLGenerator $urlGenerator
66
+     * @param CapabilitiesManager $capabilitiesManager
67
+     * @param IInitialStateService $initialStateService
68
+     */
69
+    public function __construct($appName,
70
+                                IRequest $request,
71
+                                IFactory $l10nFactory,
72
+                                Defaults $defaults,
73
+                                IAppManager $appManager,
74
+                                ISession $session,
75
+                                IUserSession $userSession,
76
+                                IConfig $config,
77
+                                IGroupManager $groupManager,
78
+                                IniGetWrapper $iniWrapper,
79
+                                IURLGenerator $urlGenerator,
80
+                                CapabilitiesManager $capabilitiesManager,
81
+                                IInitialStateService $initialStateService) {
82
+        parent::__construct($appName, $request);
83 83
 
84
-		$this->helper = new JSConfigHelper(
85
-			$l10nFactory->get('lib'),
86
-			$defaults,
87
-			$appManager,
88
-			$session,
89
-			$userSession->getUser(),
90
-			$config,
91
-			$groupManager,
92
-			$iniWrapper,
93
-			$urlGenerator,
94
-			$capabilitiesManager,
95
-			$initialStateService,
96
-		);
97
-	}
84
+        $this->helper = new JSConfigHelper(
85
+            $l10nFactory->get('lib'),
86
+            $defaults,
87
+            $appManager,
88
+            $session,
89
+            $userSession->getUser(),
90
+            $config,
91
+            $groupManager,
92
+            $iniWrapper,
93
+            $urlGenerator,
94
+            $capabilitiesManager,
95
+            $initialStateService,
96
+        );
97
+    }
98 98
 
99
-	/**
100
-	 * @NoCSRFRequired
101
-	 * @PublicPage
102
-	 *
103
-	 * @return DataDisplayResponse
104
-	 */
105
-	public function getConfig() {
106
-		$data = $this->helper->getConfig();
99
+    /**
100
+     * @NoCSRFRequired
101
+     * @PublicPage
102
+     *
103
+     * @return DataDisplayResponse
104
+     */
105
+    public function getConfig() {
106
+        $data = $this->helper->getConfig();
107 107
 
108
-		return new DataDisplayResponse($data, Http::STATUS_OK, ['Content-type' => 'text/javascript']);
109
-	}
108
+        return new DataDisplayResponse($data, Http::STATUS_OK, ['Content-type' => 'text/javascript']);
109
+    }
110 110
 }
Please login to merge, or discard this patch.