Completed
Pull Request — master (#3)
by
unknown
01:27
created
src/Volume.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
         "smallThumbnail",
18 18
     ];
19 19
 
20
+    /**
21
+     * @param GoogleBooks $client
22
+     */
20 23
     public function __construct($client, $data, $full=false)
21 24
     {
22 25
         $this->client = $client;
Please login to merge, or discard this patch.
src/Volumes.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param $query
30
-     * @return \Generator|Volume
30
+     * @return \Generator
31 31
      */
32 32
     private function fetchSearch($query)
33 33
     {
@@ -46,6 +46,9 @@  discard block
 block discarded – undo
46 46
         return $this;
47 47
     }
48 48
 
49
+    /**
50
+     * @param string $query
51
+     */
49 52
     public function firstOrNull($query)
50 53
     {
51 54
         $res = $this->search($query)->current();
Please login to merge, or discard this patch.