Skip to content

Commit 963ead0

Browse files
Kurrebarryvdh
authored andcommitted
Correct Fluent helper output (#445)
'references()' and 'on()' argument names were backwards
1 parent 8c30603 commit 963ead0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/helper.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ public static function <?= $method->getName() ?>(<?= $method->getParamsWithDefau
5959
* @method Fluent default(mixed $value) Add the default modifier
6060
* @method Fluent first() Select first row
6161
* @method Fluent index(string $name = null) Add the in dex clause
62-
* @method Fluent on(string $column) `on` of a foreign key
62+
* @method Fluent on(string $table) `on` of a foreign key
6363
* @method Fluent onDelete(string $action) `on delete` of a foreign key
6464
* @method Fluent onUpdate(string $action) `on update` of a foreign key
6565
* @method Fluent primary() Add the primary key modifier
66-
* @method Fluent references(string $table) `references` of a foreign key
66+
* @method Fluent references(string $column) `references` of a foreign key
6767
* @method Fluent nullable() Add the nullable modifier
6868
* @method Fluent unique(string $name = null) Add unique index clause
6969
* @method Fluent unsigned() Add the unsigned modifier

0 commit comments

Comments
 (0)