MyIntervals / PHP-CSS-Parser

A Parser for CSS Files written in PHP. Allows extraction of CSS files into a data structure, manipulation of said structure and output as (optimized) CSS

Home Page:http://www.sabberworm.com/blog/2010/6/10/php-css-parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix undefined `$oVal` in `CalcFunction`

oliverklee opened this issue · comments

There is one instance in CalcFunction where $oVal might not be defined. We need to make sure that it is always defined (e.g., as null), and handle those cases.

This fixes a PHPStan warning in the baseline (i.e., we need to regenerate the baseline with composer phpstan:baseline after this has been fixed).