We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efaddbb commit 19d4767Copy full SHA for 19d4767
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)) {
+ 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