Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Support for iterable type #71

Merged
merged 1 commit into from Nov 28, 2019
Merged

Support for iterable type #71

merged 1 commit into from Nov 28, 2019

Conversation

bastien-phi
Copy link
Contributor

This PR aims to support iterable types. see #70

It can be used with simple iterable type :

/** @var iterable */
public $items

but also with types

/** @var iterable<string> */
public $strings

or with DTOs

/** @var iterable<\App\DTO\NestedDto> */
public $nested

I would be happy to push further or add extra tests if needed

@bastien-phi bastien-phi changed the title Support for iterator type Support for iterable type Nov 28, 2019
@bastien-phi
Copy link
Contributor Author

@brendt any news about this PR ? Sorry to disturb you, I guess you have a lot to do...

@brendt brendt merged commit e3df15a into spatie:master Nov 28, 2019
@bastien-phi
Copy link
Contributor Author

Thanks !

@brendt
Copy link
Contributor

brendt commented Nov 28, 2019

Thank you! I'll tag it as soon as CI is done

@bastien-phi
Copy link
Contributor Author

You rock !

@brendt
Copy link
Contributor

brendt commented Nov 28, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants