Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Allow usage of null parameter to pass optional url argument
Previously, if arguments pass as `$api->projects($idOrName)` were failing if `$idOrName` was null, expecting a scalar type, now ignore arguments if it's value is null. This allow to use `$api->projects($idOrName)`: * to request `/projects` when `$idOrName` is null * to request `/projects/{idOrName}` otherwise
- Loading branch information