From 1a3d32f0d1bcd4aa21063e1680c6042d0e6b055b Mon Sep 17 00:00:00 2001 From: BinotaLIU Date: Tue, 29 May 2018 22:28:49 +0800 Subject: [PATCH] nullable actually support an argument --- resources/views/helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/helper.php b/resources/views/helper.php index e517a60..edc3daf 100644 --- a/resources/views/helper.php +++ b/resources/views/helper.php @@ -80,7 +80,7 @@ namespace Illuminate\Support { * @method Fluent onUpdate(string $action) `on update` of a foreign key * @method Fluent primary() Add the primary key modifier * @method Fluent references(string $column) `references` of a foreign key - * @method Fluent nullable() Add the nullable modifier + * @method Fluent nullable(bool $value = true) Add the nullable modifier * @method Fluent unique(string $name = null) Add unique index clause * @method Fluent unsigned() Add the unsigned modifier * @method Fluent useCurrent() Add the default timestamp value