Skip to content

Commit

Permalink
docs: ensure fenced code block has language specified
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Nov 9, 2023
1 parent 81d88c5 commit 8cbe479
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 @@ -205,7 +205,7 @@ public function __construct(

Using named arguments, you can create instances with different behavior:

```
```php
$callback = function (mixed $value, array $context, string $key): Result { /* ... */ };

$rule1 = new CallbackRule(key: 'first', callback: $callback, default: 'string');
Expand Down

0 comments on commit 8cbe479

Please sign in to comment.