Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function addColumn returns array instead of Fluent #41

Open
mtveerman opened this issue Aug 24, 2017 · 0 comments
Open

function addColumn returns array instead of Fluent #41

mtveerman opened this issue Aug 24, 2017 · 0 comments

Comments

@mtveerman
Copy link

See:

The function addColumn should return \Illuminate\Support\Fluent, but now it does not. This makes it impossible to do things like:

$table->string('something')->nullable();

Such code results in:

[Symfony\Component\Debug\Exception\FatalThrowableError]
Call to a member function nullable() on array

I've only just started using this package, so I need to dig a bit deeper before I can make a fork and post a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant