Completed
Pull Request — master (#6)
by Antoine
02:01
created
src/Fetcher.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,6 +102,9 @@  discard block
 block discarded – undo
102 102
         return [$publishedDate, $dateFormat];
103 103
     }
104 104
 
105
+    /**
106
+     * @param string $key
107
+     */
105 108
     private function getOrDefault($array, $key, $default)
106 109
     {
107 110
         if (array_key_exists($key, $array)) {
@@ -116,7 +119,7 @@  discard block
 block discarded – undo
116 119
      *
117 120
      * @param string $isbn
118 121
      *
119
-     * @return bool
122
+     * @return integer
120 123
      */
121 124
     private function isValidISBN($isbn)
122 125
     {
Please login to merge, or discard this patch.
src/Book.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      * @param string   $language
35 35
      * @param array    $categories
36 36
      */
37
-    public function __construct($title, $subtitle, array $authors, $printType, $pageCount, $publisher, DateTime $publishedDate=null, $publishedDateFormat, $averageRating, $thumbnail, $language, array $categories)
37
+    public function __construct($title, $subtitle, array $authors, $printType, $pageCount, $publisher, DateTime $publishedDate = null, $publishedDateFormat, $averageRating, $thumbnail, $language, array $categories)
38 38
     {
39 39
         $this->title = $title;
40 40
         $this->subtitle = $subtitle;
Please login to merge, or discard this patch.