Completed
Pull Request — master (#5)
by Dan Michael O.
01:22
created
src/Volumes.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 
15 15
     /**
16 16
      * @param $query
17
-     * @return \Generator|Volume
17
+     * @return \Generator
18 18
      */
19 19
     public function search($query)
20 20
     {
@@ -23,6 +23,9 @@  discard block
 block discarded – undo
23 23
         }
24 24
     }
25 25
 
26
+    /**
27
+     * @param string $query
28
+     */
26 29
     public function firstOrNull($query)
27 30
     {
28 31
         $res = $this->search($query)->current();
Please login to merge, or discard this patch.
src/Model.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      *
55 55
      * @param  string  $key
56 56
      * @param  mixed   $default
57
-     * @return mixed
57
+     * @return string
58 58
      */
59 59
     public function get($key, $default = null)
60 60
     {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      * Check if an item or items exist in an array using "dot" notation.
73 73
      *
74 74
      * @param  string  $key
75
-     * @return mixed
75
+     * @return boolean
76 76
      */
77 77
     public function has($key)
78 78
     {
Please login to merge, or discard this patch.