From 0531540b7c3f536b73edfcc4121651614579e7a3 Mon Sep 17 00:00:00 2001 From: Tigrov Date: Tue, 12 Nov 2024 10:04:09 +0700 Subject: [PATCH] Revert "Apply Rector changes (CI)" This reverts commit f4bcca8d5592a1cfe7410eb743475a3e401ad901. --- src/Column/ColumnFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Column/ColumnFactory.php b/src/Column/ColumnFactory.php index 9195250c..f03b4f62 100644 --- a/src/Column/ColumnFactory.php +++ b/src/Column/ColumnFactory.php @@ -165,7 +165,7 @@ protected function normalizeNotNullDefaultValue(string $defaultValue, ColumnSche return $column->phpTypecast(substr($value, 2, -1)); } - $value = null; + $value = parent::normalizeNotNullDefaultValue($value, $column); if ($value instanceof Expression) { return new Expression($defaultValue);