Closed
Description
Symfony version(s) affected: 5.0.0
Description
A fresh install of Sf5 and produce that error : Return value of Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector::convertToBytes() must be of the type int, float returned
How to reproduce
A fresh install and a Symfony server:start
Possible Solution
In the file MemoryDataCollector.php l.110 the switch make a float and not an int. An int can be forced. A return (int)$max;
at l.120 do the job