Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit 53c59c8

Browse files
authored
Update ColumnRenderer.php
1 parent e8b3937 commit 53c59c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/Spiral/ORM/Helpers/ColumnRenderer.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class_exists($definition)
108108
&& is_a($definition, ColumnInterface::class, true)
109109
) {
110110
//Dedicating column definition to our column class
111-
call_user_func([$definition, 'describeColumn'], $column);
111+
call_user_func([$definition, 'describeColumn'], $column, $hasDefault, $default);
112112

113113
return $column;
114114
}
@@ -196,4 +196,4 @@ public function castDefault(AbstractColumn $column)
196196

197197
return '';
198198
}
199-
}
199+
}

0 commit comments

Comments
 (0)