Skip to content

Commit 5172823

Browse files
Merge pull request #5 from tradjick/patch-1
Code example in README.md would throw an exception
2 parents 7493725 + af6e97c commit 5172823

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
@@ -89,7 +89,7 @@ You can pass user information as context like this:
8989

9090
```php
9191
\Log::error('Something went wrong', [
92-
'person' => ['id' => 123, 'username' => 'John Doe', 'email' => '[email protected]']
92+
'person' => ['id' =>(string) 123, 'username' => 'John Doe', 'email' => '[email protected]']
9393
]);
9494
```
9595

0 commit comments

Comments
 (0)