Skip to content

Commit 4edde8b

Browse files
Fix KeyFrame reference in Parser.php
Some CSS files require the use of the keyFrame class. This has been misspelt in the Parser.php class on line 8 and results in the following fatal PHP error: Fatal error: Class 'Sabberworm\CSS\CSSList\Keyframe' not found in /vendor/sabberworm/php-css-parser/lib/Sabberworm/CSS/Parser.php on line 116
1 parent 8b12ce2 commit 4edde8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sabberworm/CSS/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Sabberworm\CSS\CSSList\CSSList;
66
use Sabberworm\CSS\CSSList\Document;
77
use Sabberworm\CSS\CSSList\MediaQuery;
8-
use Sabberworm\CSS\CSSList\Keyframe;
8+
use Sabberworm\CSS\CSSList\KeyFrame;
99
use Sabberworm\CSS\Property\Import;
1010
use Sabberworm\CSS\Property\Charset;
1111
use Sabberworm\CSS\Property\CSSNamespace;

0 commit comments

Comments
 (0)