Skip to content

Commit

Permalink
Merge pull request #9 from ZebulanStanphill/patch-1
Browse files Browse the repository at this point in the history
Fix mistake in `#[Sealed]` example.
  • Loading branch information
DaveLiddament authored Oct 10, 2022
2 parents ea6e9b7 + 593cc2d commit 137680e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ E.g.

```php

#[Sealed([Success::class, Failure::class])]
#[Sealed(Success::class, Failure::class)]
abstract class Result {} // Result can only be extended by Success or Failure

// OK
Expand Down

0 comments on commit 137680e

Please sign in to comment.