8000 time ( void ) : int by cbastienbaron · Pull Request #35717 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

time ( void ) : int #35717

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

Merged
merged 1 commit into from
Feb 15, 2020
Merged

time ( void ) : int #35717

merged 1 commit into from
Feb 15, 2020

Conversation

cbastienbaron
Copy link
Contributor
Q A
Branch? master
Bug fix? no
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR

no need to cast - micro improvement

@@ -102,6 +102,6 @@ private function calculateTimeDelta(): int

$serverTimestamp = (int) (string) $response->getContent();
Copy link
Member

Choose a reason for hiding this comment

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

Can also remove these casts? There are not needed (maybe there are other ones to remove).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

too fast 😄

no need to cast
@nicolas-grekas
Copy link
Member

Thank you @cbastienbaron.

nicolas-grekas added a commit that referenced this pull request Feb 15, 2020
This PR was merged into the 5.1-dev branch.

Discussion
----------

time ( void ) : int

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        |

no need to cast - micro improvement

Commits
-------

9f31581 time ( void ) : int
@nicolas-grekas nicolas-grekas merged commit 9f31581 into symfony:master Feb 15, 2020
@cbastienbaron cbastienbaron deleted the patch-1 branch February 15, 2020 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0