Skip to content

Conversation

@VincentLanglet
Copy link
Contributor

Closes #203

@VincentLanglet
Copy link
Contributor Author

Lowest failure are unrelated since they are on the 1.3.x branch.


$result2 = $collection->last();
$result2;
}
Copy link
Member

Choose a reason for hiding this comment

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

Please do not modify the test like that, the diff of the rule test case is unreadable. Also, it'd make sense to refactor this into a TypeInferenceTestCase :) Thank you.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The test is now refactored into a TypeInferenceTestCase ;)

@VincentLanglet VincentLanglet force-pushed the impure branch 2 times, most recently from eaf45d3 to 64f93d5 Compare December 21, 2022 22:49
@ondrejmirtes
Copy link
Member

Thank you.

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.

Phpstan is messing with isEmpty and first/last value.

2 participants