Skip to content

Commit cff95c3

Browse files
committed
Remove unnecessary dockblocks for collection::truncate
Resolves styleci issues for mongodb#1306
1 parent 040c1fa commit cff95c3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Jenssegers/Mongodb/Query/Builder.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -697,13 +697,12 @@ public function from($collection, $as = null)
697697

698698
/**
699699
* @inheritdoc
700-
* @return boolean
701700
*/
702701
public function truncate(): bool
703702
{
704703
$result = $this->collection->deleteMany([]);
705704

706-
return (1 === (int)$result->isAcknowledged());
705+
return (1 === (int) $result->isAcknowledged());
707706
}
708707

709708
/**

0 commit comments

Comments
 (0)