Author: jwage
Date: 2008-09-08 23:14:31 +0100 (Mon, 08 Sep 2008)
New Revision: 4896
Modified:
branches/1.0/lib/Doctrine/Parser.php
Log:
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.
Modified: branches/1.0/lib/Doctrine/Parser.php
===================================================================
--- branches/1.0/lib/Doctrine/Parser.php 2008-09-08 22:09:01 UTC (rev
4895)
+++ branches/1.0/lib/Doctrine/Parser.php 2008-09-08 22:14:31 UTC (rev
4896)
@@ -85,7 +85,7 @@
{
$parser = self::getParser($type);
- return $parser->loadData($path);
+ return (array) $parser->loadData($path);
}
/**
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---