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