We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In `config/sets/laravel60.php:
new ArgumentAdder('Illuminate\Database\Query\Builder', 'from', 1, 'as', null)
The argument 'as' is nullable, which means it is not required. This rule changes the code as shown:
DB::query() - ->from('table_name') + ->from('table_name', null)
which is strange, because the argument is not required, so calling ->from('table_name') is perfectly fine.
->from('table_name')
public function from($table, $as = null) {
I suggest removing all ArgumentAdder's from laravel60.php for the 'as'-argument, because all four of them are nullable.
ArgumentAdder
laravel60.php
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
In `config/sets/laravel60.php:
The argument 'as' is nullable, which means it is not required.
This rule changes the code as shown:
which is strange, because the argument is not required, so calling
->from('table_name')
is perfectly fine.I suggest removing all
ArgumentAdder
's fromlaravel60.php
for the 'as'-argument, because all four of them are nullable.The text was updated successfully, but these errors were encountered: