Passed
Push — master ( 5d4c4b...c43189 )
by Roeland
12:22 queued 10s
created
lib/private/Settings/Manager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 			$sectionID = $section->getID();
124 124
 
125 125
 			if (isset($this->sections[$type][$sectionID])) {
126
-				$this->log->logException(new \InvalidArgumentException('Section with the same ID already registered: ' . $sectionID . ', class: ' . $class), ['level' => ILogger::INFO]);
126
+				$this->log->logException(new \InvalidArgumentException('Section with the same ID already registered: '.$sectionID.', class: '.$class), ['level' => ILogger::INFO]);
127 127
 				continue;
128 128
 			}
129 129
 
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 			}
181 181
 
182 182
 			if (!$setting instanceof ISettings) {
183
-				$this->log->logException(new \InvalidArgumentException('Invalid settings setting registered (' . $class . ')'), ['level' => ILogger::INFO]);
183
+				$this->log->logException(new \InvalidArgumentException('Invalid settings setting registered ('.$class.')'), ['level' => ILogger::INFO]);
184 184
 				continue;
185 185
 			}
186 186
 
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
 	 */
231 231
 	public function getAdminSettings($section, bool $subAdminOnly = false): array {
232 232
 		if ($subAdminOnly) {
233
-			$subAdminSettingsFilter = function (ISettings $settings) {
233
+			$subAdminSettingsFilter = function(ISettings $settings) {
234 234
 				return $settings instanceof ISubAdminSettings;
235 235
 			};
236 236
 			$appSettings = $this->getSettings('admin', $section, $subAdminSettingsFilter);
Please login to merge, or discard this patch.