Completed
Branch master (55c02b)
by Nur
17s
created
src/Database/Schema/Macros/UserStampsMacro.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -144,8 +144,8 @@  discard block
 block discarded – undo
144 144
             // Get the actual column name from config or use default
145 145
             // Support both old format (created_by_column) and new format (columns.created_by.name)
146 146
             $columnName = $config['name'] ??
147
-                         config("userstamps.{$columnType}_column") ??
148
-                         config("userstamps.columns.{$columnType}.name", $columnType);
147
+                            config("userstamps.{$columnType}_column") ??
148
+                            config("userstamps.columns.{$columnType}.name", $columnType);
149 149
 
150 150
             // For backward compatibility, also check the legacy column names
151 151
             if ($columnType === 'created_by') {
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
             foreach ($columns as $columnType) {
252 252
                 // Support both old format (created_by_column) and new format (columns.created_by.name)
253 253
                 $columnName = config("userstamps.{$columnType}_column") ??
254
-                             config("userstamps.columns.{$columnType}.name", $columnType);
254
+                                config("userstamps.columns.{$columnType}.name", $columnType);
255 255
 
256 256
                 // For backward compatibility, also check the legacy column names
257 257
                 if ($columnType === 'created_by') {
Please login to merge, or discard this patch.