This was my first attempt at making a patch ever, and I have attached the fix file. Sorry.
Here is a simple patch. However, I'm not very experienced with PHP, so could someone check the file and perhaps improve it?
chvojan → created an issue.
@mregnault
Same here. I had this patch → in composer.json. After remove everything is ok.
It's working. Thank you.