Rust-style Option and Result Classes for PHP
tags
implement Option::or with support for callables, update some other docs
artifacts
implement Option::expect, Result::expect and Result::expectErr with tests and docs
artifacts
Add Option::mapOr() and Result::mapOr(), fix Result::mapErr() return type
artifacts
Merge Option::unwrapOr and Option::unwrapOrElse, allow lazy evaluation for Result::unwrapOr
artifacts
Re-wrote test suite, added Pint, linted codebase, updated CI workflow with composer lint and composer test
artifacts
Option and Result initialise with a `true` value if no arguments are provided