Skip to content

[TypeDeclaration] Add AddFunctionReturnTypeRector#1406

Merged
TomasVotruba merged 2 commits intomasterfrom
upstan
May 10, 2019
Merged

[TypeDeclaration] Add AddFunctionReturnTypeRector#1406
TomasVotruba merged 2 commits intomasterfrom
upstan

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

@TomasVotruba TomasVotruba commented May 9, 2019

Closes #1401

-return array_filter($meetups, function (Meetup $meetup) {
+return array_filter($meetups, function (Meetup $meetup): bool {
     return $meetup->getStartDateTime() > DateTime::from('now');
 });

@TomasVotruba TomasVotruba force-pushed the upstan branch 3 times, most recently from d378168 to 8606fbd Compare May 10, 2019 12:47
@TomasVotruba TomasVotruba merged commit 548d132 into master May 10, 2019
@TomasVotruba TomasVotruba deleted the upstan branch May 10, 2019 13:16
TomasVotruba added a commit that referenced this pull request Dec 6, 2021
rectorphp/rector-src@a685282 [DowngradePhp80] Add getAttributes() reflection downgrade (#1406)
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.

[TypeDeclaratoin] Add bool to return type functions

1 participant