[Fix] Fix number of parameters
Fix for this error: [ErrorException] Declaration of Cooperl\Database\DB2\Schema\Blueprint::indexCommand() should be compatible with Illuminate\Databa se\Schema\Blueprint::indexCommand($type, $columns, $index, $algorithm = NULL)
This commit is contained in:
parent
e26b9b4bcb
commit
ac353d84a3
@ -37,10 +37,11 @@ class Blueprint extends \Illuminate\Database\Schema\Blueprint
|
|||||||
* @param string $type
|
* @param string $type
|
||||||
* @param string|array $columns
|
* @param string|array $columns
|
||||||
* @param string $index
|
* @param string $index
|
||||||
|
* @param string|null $algorithm
|
||||||
*
|
*
|
||||||
* @return \Illuminate\Support\Fluent
|
* @return \Illuminate\Support\Fluent
|
||||||
*/
|
*/
|
||||||
protected function indexCommand($type, $columns, $index)
|
protected function indexCommand($type, $columns, $index, $algorithm = null)
|
||||||
{
|
{
|
||||||
$columns = (array) $columns;
|
$columns = (array) $columns;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user