Skip to content

Commit 0deaf22

Browse files
committed
Fix typo in meta usage
1 parent 0db2878 commit 0deaf22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ or some other object linking other classes, resources together.
309309

310310
Furthermore, in some cases it is useful to resolve enum option from meta. That is also possible:
311311
```php
312-
$method = PaymentMethod::from(StripeHandler::class);
312+
$method = PaymentMethod::fromMeta(StripeHandler::class);
313313
```
314314

315315
## Things to know

0 commit comments

Comments
 (0)