Skip to content

Making the $retention param type nullable since it can be null already#105

Open
vinicius-venngage wants to merge 1 commit intomaxbanton:masterfrom
vinicius-venngage:bufix/retention_type
Open

Making the $retention param type nullable since it can be null already#105
vinicius-venngage wants to merge 1 commit intomaxbanton:masterfrom
vinicius-venngage:bufix/retention_type

Conversation

@vinicius-venngage
Copy link

@vinicius-venngage vinicius-venngage commented Jun 7, 2022

When using this component with static analyzers (such as phpstan) we are not able to pass null as retention because the parameter is marked as int. This fixes it.

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.

1 participant