Fatal error: Declaration of Frontend\Helpers\CssYUICompressor::filter($contents) must be compatible with Phalcon\Assets\FilterInterface::filter(string $content): string in /home/devmass/web/dev.loc/public_html/apps/frontend/helpers/CssYUICompressor.php on line 12
It works now. But I noticed that if you connect several files to minimize, the user filter does not work correctly. The filter is applied as many times as there are files in the input, and not to the overall result after combining the files.
Is there a way to make the same filter work as in Phalcon 3.4 with Cssmin?