1 | <?php |
||
22 | class MongoDeleteBatch extends MongoWriteBatch |
||
1 ignored issue
–
show
|
|||
23 | { |
||
24 | /** |
||
25 | * Creates a new batch of delete operations |
||
26 | * |
||
27 | * @see http://php.net/manual/en/mongodeletebatch.construct.php |
||
28 | * @param MongoCollection $collection |
||
29 | * @param array $writeOptions |
||
30 | */ |
||
31 | public function __construct(MongoCollection $collection, array $writeOption = []) |
||
35 | } |
||
36 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.