Permalink
Browse files

Clean up interfaces

  • Loading branch information...
1 parent b381ff3 commit 9f397b7f742a9eec7f31a5228213c5d6303908ee @jmikola jmikola committed Aug 2, 2012
View
6 lib/Doctrine/MongoDB/Iterator.php
@@ -19,8 +19,6 @@
namespace Doctrine\MongoDB;
-use Countable, Iterator as BaseIterator;
-
/**
* Iterator interface.
*
@@ -29,8 +27,8 @@
* @since 1.0
* @author Jonathan H. Wage <jonwage@gmail.com>
*/
-interface Iterator extends BaseIterator, Countable
+interface Iterator extends \Iterator, \Countable
{
function toArray();
function getSingleResult();
-}
+}
View
8 lib/Doctrine/MongoDB/IteratorAggregate.php
@@ -19,19 +19,17 @@
namespace Doctrine\MongoDB;
-use Countable, IteratorAggregate as BaseIterator;
-
/**
- * Iterator interface.
+ * IteratorAggregate interface.
*
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link www.doctrine-project.com
* @since 1.0
* @author Jonathan H. Wage <jonwage@gmail.com>
* @author Bulat Shakirzyanov <mallluhuct@gmail.com>
*/
-interface IteratorAggregate extends BaseIterator, Countable
+interface IteratorAggregate extends \IteratorAggregate, \Countable
{
function toArray();
function getSingleResult();
-}
+}
View
2 lib/Doctrine/MongoDB/Loggable.php
@@ -20,7 +20,7 @@
namespace Doctrine\MongoDB;
/**
- * GridFS
+ * Loggable interface
*
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link www.doctrine-project.org

0 comments on commit 9f397b7

Please sign in to comment.