Commit b9e6c1f
committed
bug #42380 [HttpFoundation] Don't pass null to strpos() (derrabus)
This PR was merged into the 5.3 branch.
Discussion
----------
[HttpFoundation] Don't pass null to strpos()
| Q | A
| ------------- | ---
| Branch? | 5.3
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | #41552
| License | MIT
| Doc PR | N/A
Passing `null` to `strpos()` triggers a deprecation warning in PHP 8.1. Let's not do that.
Commits
-------
bf9dca3f17 Don't pass null to strpos()1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1333 | 1333 | | |
1334 | 1334 | | |
1335 | 1335 | | |
1336 | | - | |
| 1336 | + | |
1337 | 1337 | | |
1338 | 1338 | | |
1339 | 1339 | | |
| |||
0 commit comments