diff --git a/src/Bundle/Parser/IniParser.php b/src/Bundle/Parser/IniParser.php
index <HASH>..<HASH> 100644
--- a/src/Bundle/Parser/IniParser.php
+++ b/src/Bundle/Parser/IniParser.php
@@ -103,7 +103,7 @@ class IniParser implements ParserInterface
     {
         $ini = parse_ini_file($file, true);
 
-        if (false === $ini) {
+        if (!is_array($ini)) {
             throw new \RuntimeException("File $file cannot be decoded");
         }
Handle the case that the parse_ini_file() function is disabled (see #8).