Skip to content

Commit f1bca17

Browse files
authored
Merge pull request #3129 from tiran133/patch-2
Breaking Change! The whereLoose method was removed
2 parents fdf3d79 + 050fd80 commit f1bca17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

upgrade.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ In previous versions of Laravel, the `$key` was passed first. Since most use cas
163163

164164
A collection's `where` method now performs a "loose" comparison by default instead of a strict comparison. If you would like to perform a strict comparison, you may use the `whereStrict` method.
165165

166+
Due to this change, the `whereLoose` method was removed from the collection class.
167+
166168
The `where` method also no longer accepts a third parameter to indicate "strictness". You should explicitly call either `where` or `whereStrict` depending on your application's needs.
167169

168170
### Configuration

0 commit comments

Comments
 (0)