Passed
Pull Request — master (#89)
by
unknown
03:05
created
Classes/Configuration/ClientConfigurationManager.php 1 patch
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 class ClientConfigurationManager
23 23
 {
24 24
 
25
-	/**
25
+    /**
26 26
      * objectManager
27 27
      *
28 28
      * @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
         $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class);
66 66
         $clientRepository = $objectManager->get(ClientRepository::class);
67 67
 
68
-		if (TYPO3_MODE === 'BE')
69
-		{
68
+        if (TYPO3_MODE === 'BE')
69
+        {
70 70
             $selectedPageId = (int) \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id');
71 71
             if ($selectedPageId)
72 72
             {
@@ -77,15 +77,15 @@  discard block
 block discarded – undo
77 77
                 $this->settings = $settings; //['settings'];
78 78
             }
79 79
 
80
-		}
81
-		else
82
-		{
80
+        }
81
+        else
82
+        {
83 83
             $this->client = $clientRepository->findAll()->current();
84 84
 
85
-    		$configurationManager = $objectManager->get(ConfigurationManager::class);
86
-    		$this->settings = $configurationManager->getConfiguration(
87
-            	\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS
88
-        	);
85
+            $configurationManager = $objectManager->get(ConfigurationManager::class);
86
+            $this->settings = $configurationManager->getConfiguration(
87
+                \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS
88
+            );
89 89
 
90 90
         }
91 91
 
@@ -116,57 +116,57 @@  discard block
 block discarded – undo
116 116
 
117 117
     public function getSwordHost()
118 118
     {
119
-    	return $this->getSetting("swordHost","swordHost");
119
+        return $this->getSetting("swordHost","swordHost");
120 120
     }
121 121
 
122
-	public function getSwordUser()
122
+    public function getSwordUser()
123 123
     {
124
-    	return $this->getSetting("swordUser","swordUser");
124
+        return $this->getSetting("swordUser","swordUser");
125 125
     }
126 126
 
127
-	public function getSwordPassword()
127
+    public function getSwordPassword()
128 128
     {
129
-    	return $this->getSetting("swordPassword","swordPassword");
129
+        return $this->getSetting("swordPassword","swordPassword");
130 130
     }
131 131
 
132
-	public function getSwordCollectionNamespace()
132
+    public function getSwordCollectionNamespace()
133 133
     {
134
-    	return $this->getSetting("swordCollectionNamespace","swordCollectionNamespace");
134
+        return $this->getSetting("swordCollectionNamespace","swordCollectionNamespace");
135 135
     }
136 136
 
137
-	public function getFedoraHost()
137
+    public function getFedoraHost()
138 138
     {
139
-    	return $this->getSetting("fedoraHost","fedoraHost");
139
+        return $this->getSetting("fedoraHost","fedoraHost");
140 140
     }
141 141
 
142
-	public function getFedoraUser()
142
+    public function getFedoraUser()
143 143
     {
144
-    	return $this->getSetting("fedoraUser","fedoraUser");
144
+        return $this->getSetting("fedoraUser","fedoraUser");
145 145
     }
146 146
 
147
-	public function getFedoraPassword()
147
+    public function getFedoraPassword()
148 148
     {
149
-    	return $this->getSetting("fedoraPassword","fedoraPassword");
149
+        return $this->getSetting("fedoraPassword","fedoraPassword");
150 150
     }
151 151
 
152
-	public function getElasticSearchHost()
152
+    public function getElasticSearchHost()
153 153
     {
154
-    	return $this->getSetting("elasticSearchHost","elasticSearchHost");
154
+        return $this->getSetting("elasticSearchHost","elasticSearchHost");
155 155
     }
156 156
 
157
-	public function getElasticSearchPort()
157
+    public function getElasticSearchPort()
158 158
     {
159
-    	return $this->getSetting("elasticSearchPort","elasticSearchPort");
159
+        return $this->getSetting("elasticSearchPort","elasticSearchPort");
160 160
     }
161 161
 
162
-	public function getUploadDirectory()
162
+    public function getUploadDirectory()
163 163
     {
164
-    	return $this->getSetting("uploadDirectory","uploadDirectory");
164
+        return $this->getSetting("uploadDirectory","uploadDirectory");
165 165
     }
166 166
 
167
-	public function getUploadDomain()
167
+    public function getUploadDomain()
168 168
     {
169
-    	return $this->getSetting("uploadDomain","uploadDomain");
169
+        return $this->getSetting("uploadDomain","uploadDomain");
170 170
     }
171 171
 
172 172
 }
Please login to merge, or discard this patch.