Completed
Pull Request — master (#5)
by Dan Michael O.
01:19
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.