Completed
Pull Request — master (#16)
by Andrea
04:25
created
src/Support/Collection.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      *
26 26
      * @param callable|null $callback
27 27
      * @param null $default
28
-     * @return mixed|Collection
28
+     * @return Collection
29 29
      */
30 30
     public function first(callable $callback = null, $default = null)
31 31
     {
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * Get and remove the last item from the collection.
37 37
      *
38
-     * @return mixed
38
+     * @return Collection
39 39
      */
40 40
     public function pop()
41 41
     {
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * Get and remove the first item from the collection.
59 59
      *
60
-     * @return mixed
60
+     * @return Collection
61 61
      */
62 62
     public function shift()
63 63
     {
@@ -117,6 +117,9 @@  discard block
 block discarded – undo
117 117
         return parent::__call($name, $arguments);
118 118
     }
119 119
 
120
+    /**
121
+     * @param string $key
122
+     */
120 123
     public function where($key, $operator, $value = null)
121 124
     {
122 125
         if (func_num_args() == 2) {
Please login to merge, or discard this patch.