Changeset 4896

Show
Ignore:
Timestamp:
09/08/08 22:14:31 (10 months ago)
Author:
jwage
Message:

Fixing minor regression where the file parser would always return an array even if the file being parsed was empty and now it returns null. Fixing to make it always return an array.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/lib/Doctrine/Parser.php

    r3929 r4896  
    8686        $parser = self::getParser($type); 
    8787 
    88         return $parser->loadData($path); 
     88        return (array) $parser->loadData($path); 
    8989    } 
    9090