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

Forced RecordCollections to return arrays #52

Merged
merged 1 commit into from
Apr 9, 2018
Merged

Conversation

Bilge
Copy link
Member

@Bilge Bilge commented Apr 8, 2018

Instead of just proclaiming it in the documentation, RecordCollections actually enforce the return type of each iteration to be array, now.

@Bilge Bilge added this to the 4.0.0 milestone Apr 8, 2018
@codecov-io
Copy link

codecov-io commented Apr 8, 2018

Codecov Report

Merging #52 into 4.0 will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@         Coverage Diff         @@
##            4.0    #52   +/-   ##
===================================
  Coverage   100%   100%           
===================================
  Files        29     29           
  Lines       352    355    +3     
===================================
+ Hits        352    355    +3
Impacted Files Coverage Δ
src/Collection/RecordCollection.php 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 821d2bd...23930ab. Read the comment docs.

@Bilge Bilge force-pushed the forced-iterator-arrays branch from 1168285 to 54f424d Compare April 9, 2018 00:06
Added accompanying RecordCollectionTest::testNonArrayYield test.
@Bilge Bilge force-pushed the forced-iterator-arrays branch from 54f424d to 23930ab Compare April 9, 2018 00:13
@Bilge Bilge merged commit 23930ab into 4.0 Apr 9, 2018
@Bilge Bilge deleted the forced-iterator-arrays branch April 9, 2018 00:19
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