nette / schema

📐 Validating data structures against a given Schema.
https://doc.nette.org/schema
Other
886 stars 26 forks source link

Exception in ValidationException.php #61

Open NoNoNo opened 10 months ago

NoNoNo commented 10 months ago

Version: latest

Bug Description

Got a warning:

Undefined array key 0

plus error:

Call to a member function toString() on null

in

https://github.com/nette/schema/blob/b345035d253eef30e0e1438faf2b463b051983e0/src/Schema/ValidationException.php#L29

Steps To Reproduce

Sorry, I don’t know what caused that.