Crell / Serde

Robust Serde (serialization/deserialization) library for PHP 8.
Other
299 stars 14 forks source link

Fixed small typo in README code example #46

Closed themasch closed 12 months ago

themasch commented 12 months ago

Small typo in a code example in the README, resulting in syntax error.

Description

Removed an additional [ in one code example, where it caused a parse error

Motivation and context

Confused me for a second or two, since I though I missed new type of syntax getting added to attributes. But as far as I (and 3v4l.org) know, its a parse error like this. Fixiting this prevents confusion ;)

Checklist:

If you're unsure about any of these, don't hesitate to ask. We're here to help!

Crell commented 12 months ago

Oops! You are correct. Thanks.