Skip to content

[7.x] Cast limits to int#39653

Merged
taylorotwell merged 2 commits intolaravel:7.xfrom
GrahamCampbell:cast-limits
Nov 17, 2021
Merged

[7.x] Cast limits to int#39653
taylorotwell merged 2 commits intolaravel:7.xfrom
GrahamCampbell:cast-limits

Conversation

@GrahamCampbell
Copy link
Copy Markdown
Collaborator

No description provided.

taylorotwell and others added 2 commits November 17, 2021 14:35
…`null` (#39644)

* Add failing tests

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* Only cast integer when given other than null

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* Improve tests

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@taylorotwell taylorotwell merged commit fffe2c3 into laravel:7.x Nov 17, 2021
@GrahamCampbell GrahamCampbell deleted the cast-limits branch November 17, 2021 14:36
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.

3 participants