Completed
Push — master ( 764b4d...d8757f )
by Matteo
02:29
created
src/Flat/Collection.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * Remove all the documents from the collection.
55 55
      *
56
-     * @return bool
56
+     * @return boolean|null
57 57
      */
58 58
     public function truncate()
59 59
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      * @param mixed $criteria
98 98
      * @param bool  $multiple
99 99
      *
100
-     * @return int The count of the document deleted.
100
+     * @return boolean The count of the document deleted.
101 101
      */
102 102
     public function remove($criteria, $multiple = false)
103 103
     {
@@ -124,6 +124,9 @@  discard block
 block discarded – undo
124 124
         return $this->onMatch($criteria);
125 125
     }
126 126
 
127
+    /**
128
+     * @param integer $limit
129
+     */
127 130
     protected function onMatch($criteria, $limit = null)
128 131
     {
129 132
         $expression = $this->parser->parse($criteria);
Please login to merge, or discard this patch.