Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbutcher authored Dec 2, 2022
1 parent e312f97 commit 2276667
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<img src="https://img.shields.io/packagist/l/joelbutcher/php-optional" alt="License">
</a>

## Introduction

Inspired by Java's [Optional](https://github.com/AdoptOpenJDK/openjdk-jdk11/blob/master/src/java.base/share/classes/java/util/function/Predicate.java) class, this package aims to provide a comprehensive API
for optional field values.

Expand All @@ -22,7 +24,7 @@ You can use the `Optional` class in a variety of ways, see below for a few examp

### Updating a user's profile

The below class indicates who this package may be used to update a users profile information. All fields are optional, because
The below class indicates how this package may be used to update a users profile information. All fields are optional, because
our user may not want to update all fields.

```php
Expand Down

0 comments on commit 2276667

Please sign in to comment.