@@ -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()); |
@@ -457,7 +457,7 @@ discard block |
||
457 | 457 | * |
458 | 458 | * @see findOne() |
459 | 459 | * @param mixed $id Primary key value. |
460 | - * @return RecordEntity|null |
|
460 | + * @return null|RecordInterface |
|
461 | 461 | * @throws SelectorException |
462 | 462 | */ |
463 | 463 | public function findByPK($id) |
@@ -482,7 +482,7 @@ discard block |
||
482 | 482 | * @see findByPK() |
483 | 483 | * @param array $where Selection WHERE statement. |
484 | 484 | * @param bool $setLimit Use limit 1. |
485 | - * @return RecordEntity|null |
|
485 | + * @return null|RecordInterface |
|
486 | 486 | */ |
487 | 487 | public function findOne(array $where = [], $setLimit = true) |
488 | 488 | { |
@@ -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 | /** |