Skip to content

Commit

Permalink
CS Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
caciobanu committed Aug 9, 2018
1 parent 2c4218c commit c88da82
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lib/Doctrine/ODM/MongoDB/Aggregation/Stage.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ public function indexStats(): Stage\IndexStats
* Limits the number of documents passed to the next stage in the pipeline.
*
* @see http://docs.mongodb.org/manual/reference/operator/aggregation/limit/
*
* @return Stage\Limit
*/
public function limit(int $limit)
{
Expand Down
1 change: 0 additions & 1 deletion lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use Doctrine\ODM\MongoDB\Types\Type;
use Doctrine\ODM\MongoDB\Utility\CollectionHelper;
use InvalidArgumentException;
use MongoDB\BSON\ObjectId;
use function array_filter;
use function array_key_exists;
use function array_keys;
Expand Down
2 changes: 1 addition & 1 deletion lib/Doctrine/ODM/MongoDB/Tools/Console/MetadataFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

namespace Doctrine\ODM\MongoDB\Tools\Console;

use function count;
use Doctrine\ODM\MongoDB\Mapping\ClassMetadata;
use function count;
use function iterator_to_array;
use function strpos;

Expand Down
2 changes: 1 addition & 1 deletion lib/Doctrine/ODM/MongoDB/UnitOfWork.php
Original file line number Diff line number Diff line change
Expand Up @@ -2625,7 +2625,7 @@ public function size(): int
* In the future, we may want to round-trip $id through a PHP and database
* conversion and throw an exception if it's inconsistent.
*
* @param mixed $id The identifier values.
* @param mixed $id The identifier values.
*/
public function registerManaged(object $document, $id, array $data): void
{
Expand Down

0 comments on commit c88da82

Please sign in to comment.