Merge pull request #25 from mfrancisc/patch-1

[Fix] Fix number of parameters
This commit is contained in:
Cooperl Arc Atlantique 2017-04-14 10:25:32 +02:00 committed by GitHub
commit eef5a1b75b

View File

@ -37,10 +37,11 @@ class Blueprint extends \Illuminate\Database\Schema\Blueprint
* @param string $type
* @param string|array $columns
* @param string $index
* @param string|null $algorithm
*
* @return \Illuminate\Support\Fluent
*/
protected function indexCommand($type, $columns, $index)
protected function indexCommand($type, $columns, $index, $algorithm = null)
{
$columns = (array) $columns;