Skip to content

[5.6] Operator optional!#22378

Merged
taylorotwell merged 3 commits into
laravel:masterfrom
emtudo:whereTimeOptionalOperator
Dec 10, 2017
Merged

[5.6] Operator optional!#22378
taylorotwell merged 3 commits into
laravel:masterfrom
emtudo:whereTimeOptionalOperator

Conversation

@emtudo
Copy link
Copy Markdown
Contributor

@emtudo emtudo commented Dec 10, 2017

Sending to branch master as recommended #22361

@GrahamCampbell GrahamCampbell changed the title Operator optional! [5.6] Operator optional! Dec 10, 2017
@sisve
Copy link
Copy Markdown
Contributor

sisve commented Dec 10, 2017

Could you also add some tests to this functionality?

@emtudo
Copy link
Copy Markdown
Contributor Author

emtudo commented Dec 10, 2017

@sisve Done!

@antonkomarev
Copy link
Copy Markdown
Contributor

antonkomarev commented Dec 10, 2017

Should we change orWhereTime signature too?

From:

public function orWhereTime($column, $operator, $value)

To:

public function orWhereTime($column, $operator, $value = null)

@emtudo
Copy link
Copy Markdown
Contributor Author

emtudo commented Dec 10, 2017

@a-komarev
done!

@taylorotwell taylorotwell merged commit c614475 into laravel:master Dec 10, 2017
@taylorotwell
Copy link
Copy Markdown
Member

@themsaid can you review this?

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

Successfully merging this pull request may close these issues.

4 participants