From 963ead0a016e7a7e94f6a8d3eb2476ad64b261c9 Mon Sep 17 00:00:00 2001 From: Tommi Finnilae Date: Mon, 13 Feb 2017 13:53:06 +0200 Subject: [PATCH] Correct Fluent helper output (#445) 'references()' and 'on()' argument names were backwards --- resources/views/helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/helper.php b/resources/views/helper.php index 38ab30c..bfa414f 100644 --- a/resources/views/helper.php +++ b/resources/views/helper.php @@ -59,11 +59,11 @@ namespace Illuminate\Support { * @method Fluent default(mixed $value) Add the default modifier * @method Fluent first() Select first row * @method Fluent index(string $name = null) Add the in dex clause - * @method Fluent on(string $column) `on` of a foreign key + * @method Fluent on(string $table) `on` of a foreign key * @method Fluent onDelete(string $action) `on delete` of a foreign key * @method Fluent onUpdate(string $action) `on update` of a foreign key * @method Fluent primary() Add the primary key modifier - * @method Fluent references(string $table) `references` of a foreign key + * @method Fluent references(string $column) `references` of a foreign key * @method Fluent nullable() Add the nullable modifier * @method Fluent unique(string $name = null) Add unique index clause * @method Fluent unsigned() Add the unsigned modifier