@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -257,7 +257,7 @@ |
||
| 257 | 257 | /** |
| 258 | 258 | * {@inheritdoc} |
| 259 | 259 | * |
| 260 | - * @return DocumentCursor|Document[] |
|
| 260 | + * @return DocumentCursor |
|
| 261 | 261 | */ |
| 262 | 262 | public function getIterator() |
| 263 | 263 | { |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Spiral Framework. |
|
| 4 | - * |
|
| 5 | - * @license MIT |
|
| 6 | - * @author Anton Titov (Wolfy-J) |
|
| 7 | - */ |
|
| 3 | + * Spiral Framework. |
|
| 4 | + * |
|
| 5 | + * @license MIT |
|
| 6 | + * @author Anton Titov (Wolfy-J) |
|
| 7 | + */ |
|
| 8 | 8 | namespace Spiral; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -150,7 +150,7 @@ |
||
| 150 | 150 | */ |
| 151 | 151 | public function query(array $query = []) |
| 152 | 152 | { |
| 153 | - array_walk_recursive($query, function (&$value) { |
|
| 153 | + array_walk_recursive($query, function(&$value) { |
|
| 154 | 154 | if ($value instanceof \DateTime) { |
| 155 | 155 | //MongoDate is always UTC, which is good :) |
| 156 | 156 | $value = new \MongoDate($value->getTimestamp()); |