Something went wrong. Try again.
Rust-style Option and Result Classes for PHP
Something went wrong. Try again.
implement Option::expect, Result::expect and Result::expectErr with tests and docs
Merge Option::unwrapOr and Option::unwrapOrElse, allow lazy evaluation for Result::unwrapOr
Re-wrote test suite, added Pint, linted codebase, updated CI workflow with composer lint and composer test
Option and Result initialise with a `true` value if no arguments are provided