Commit 2d3a1ad
committed
minor #53073 Set
This PR was merged into the 7.1 branch.
Discussion
----------
Set `strict` parameter of `in_array` to true where possible
| Q | A
| ------------- | ---
| Branch? | 7.1
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
This pull request introduces a comprehensive update where the `in_array` function is now consistently invoked with the `strict` parameter set to `true`. This change is implemented across various components of the framework to enhance type safety and reliability.
To me, this update is a step towards more explicit and error-resistant code.
Commits
-------
442329a50f Set `strict` parameter of `in_array` to true where possiblestrict parameter of in_array to true where possible (alexandre-daubois)2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
671 | | - | |
| 671 | + | |
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
0 commit comments