ackintosh / ganesha

:elephant: A Circuit Breaker pattern implementation for PHP applications.
https://ackintosh.github.io/ganesha/
MIT License
585 stars 42 forks source link

Add psalm types to public interfaces to guide static analysis. #99

Closed mad-briller closed 2 years ago

mad-briller commented 2 years ago

Some comment additions that will help Ganesha users that use static analysis provide correct values when configuring.

Also removed 1 or 2 superfluous use statements i noticed aswell.

coveralls commented 2 years ago

Coverage Status

Coverage remained the same at 92.514% when pulling 7c50fabedd558cf1c794951501e51603a36a3f88 on mad-briller:add.psalm-types into 3e6247e177c7128f58ade889235cbddf9fa7bf8e on ackintosh:master.

ackintosh commented 2 years ago

@mad-briller This PR has been released as v3.0.1! Thank you for your contribution. 🎉 https://github.com/ackintosh/ganesha/releases/tag/3.0.1