Closed nreynis closed 4 years ago
I rewrote the return types to use self instead of Chain. This have several advantages:
self
Chain
TypeError
getFluentTypeErrorForMockedTrait
Obsoletes #44
Kudos to Symfony for making me aware of this superior syntax.
Thanks, awesome work
I rewrote the return types to use
self
instead ofChain
. This have several advantages:Chain
being the final class, in other words, you can now subclassChain
without breaking fluent designTypeError
(removed the fragile testgetFluentTypeErrorForMockedTrait
)Obsoletes #44
Kudos to Symfony for making me aware of this superior syntax.