Passed
Push — dev ( 6277c8...732a36 )
by 世昌
02:37
created
suda/src/application/database/Database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         if (array_key_exists($groupName, static::$dataSource)) {
82 82
             return static::$dataSource[$groupName];
83 83
         }
84
-        $group = $groupName === 'default' ? '': '-'. $groupName;
84
+        $group = $groupName === 'default' ? '' : '-'.$groupName;
85 85
         $dataSourceConfigPath = $resource->getConfigResourcePath('config/data-source'.$group);
86 86
         $dataSource = new DataSource;
87 87
         if ($dataSourceConfigPath !== null) {
Please login to merge, or discard this patch.