ciaranmcnulty/phpspec-typehintedmethods
PhpSpec extension that generates typehinted methods for your collaborators, so spec-generated stubs and mocks include proper parameter and return types. Keeps specs clean while producing type-safe, IDE-friendly code.
PhpSpec Typehinted Methods is a PhpSpec extension that enhances generated method signatures with type hints, helping scaffolded classes stay closer to production-ready code. It integrates with PhpSpec’s code-generation workflow so methods created while describing behaviour are more explicit and easier to understand.
How can I help you explore Laravel packages today?