Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPStan - Level 5 #53

Merged
merged 1 commit into from
Aug 27, 2024
Merged

Conversation

OskarStark
Copy link
Contributor

Needs #51 merged first and then rebase

@slunak
Copy link
Owner

slunak commented Aug 27, 2024

Merged #51

@OskarStark
Copy link
Contributor Author

Rebased

Comment on lines +81 to +87
$curlPostFields['count'] = (string) $count;
}

$percent = $glance->getGlanceDataFields()->getPercent();

if (null !== $percent) {
$curlPostFields['percent'] = $percent;
$curlPostFields['percent'] = (string) $percent;
Copy link
Contributor Author

@OskarStark OskarStark Aug 27, 2024

Choose a reason for hiding this comment

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

Query parameters should be a string all the time anyway, so I casted them to a string

@slunak slunak merged commit 6ca9a8b into slunak:master Aug 27, 2024
8 checks passed
@OskarStark OskarStark deleted the feature/phpstan-level-5 branch August 27, 2024 10:32
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.

2 participants