Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Cast ini_get to an integer to match expected type#42753

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

@natewiebe13
Copy link

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
Ticketsn/a
LicenseMIT
Doc PRn/a

The lifetime value is expected to be an integer, but this is set as a string when using the ini value fromsession.cookie_lifetime. This makesgetLifetime() return a string instead of an int as the@return states.

Copy link
Member

@jderussejderusse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Could you please provide a test?

@natewiebe13
Copy link
Author

Could you please provide a test?

Added.

@fabpot
Copy link
Member

Thank you@natewiebe13.

@fabpotfabpot closed thisAug 26, 2021
fabpot added a commit that referenced this pull requestAug 26, 2021
…be13)This PR was squashed before being merged into the 4.4 branch.Discussion----------Cast ini_get to an integer to match expected type| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       | n/a| License       | MIT| Doc PR        | n/aThe lifetime value is expected to be an integer, but this is set as a string when using the ini value from `session.cookie_lifetime`. This makes `getLifetime()` return a string instead of an int as the ``@return`` states.Commits-------c56470d Cast ini_get to an integer to match expected type
@natewiebe13natewiebe13 deleted the fix-incorrect-type branchAugust 26, 2021 15:51
This was referencedAug 30, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@stofstofstof approved these changes

@jderussejderussejderusse approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

5 participants

@natewiebe13@fabpot@stof@jderusse@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp