We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19d4767 commit 6c65d3aCopy full SHA for 6c65d3a
1 file changed
src/Northys/CSSInliner/CSSInliner.php
@@ -38,7 +38,7 @@ class CSSInliner
38
*/
39
public function addCSS($filename)
40
{
41
- if (($css = @file_get_contents($filename)) !== FALSE) {
+ if (($css = @file_get_contents($filename)) === FALSE) {
42
throw new Exceptions\InvalidCssFilePathException('Invalid css file path provided.');
43
}
44
// merge all CSS content into $this-css variable
0 commit comments