@@ -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 | /** |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | * Get instance of container associated with given object, uses global container as fallback |
| 29 | 29 | * if not. Method generally used by traits. |
| 30 | 30 | * |
| 31 | - * @return ContainerInterface|null |
|
| 31 | + * @return ContainerInterface |
|
| 32 | 32 | */ |
| 33 | 33 | protected function container() |
| 34 | 34 | { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | * |
| 51 | 51 | * @internal Do not use for business logic. |
| 52 | 52 | * @param ContainerInterface $container Can be set to null. |
| 53 | - * @return ContainerInterface|null |
|
| 53 | + * @return ContainerInterface |
|
| 54 | 54 | */ |
| 55 | 55 | final protected static function staticContainer(ContainerInterface $container = null) |
| 56 | 56 | { |
@@ -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()); |