Test Setup Failed
Pull Request — master (#491)
by
unknown
02:29
created
lib/Publisher.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -60,6 +60,9 @@
 block discarded – undo
60 60
         return Base::getEntryArrayWithBookNumber (self::SQL_ALL_PUBLISHERS, self::PUBLISHERS_COLUMNS, array (), "Publisher");
61 61
     }
62 62
 
63
+    /**
64
+     * @param string $query
65
+     */
63 66
     public static function getAllPublishersByQuery($query) {
64 67
         return Base::getEntryArrayWithBookNumber (self::SQL_PUBLISHERS_FOR_SEARCH, self::PUBLISHERS_COLUMNS, array ('%' . $query . '%'), "Publisher");
65 68
     }
Please login to merge, or discard this patch.
lib/Serie.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@
 block discarded – undo
58 58
         return Base::getEntryArrayWithBookNumber (self::SQL_ALL_SERIES, self::SERIES_COLUMNS, array (), "Serie");
59 59
     }
60 60
 
61
+    /**
62
+     * @param string $query
63
+     */
61 64
     public static function getAllSeriesByQuery($query) {
62 65
         return Base::getEntryArrayWithBookNumber (self::SQL_SERIES_FOR_SEARCH, self::SERIES_COLUMNS, array ('%' . $query . '%'), "Serie");
63 66
     }
Please login to merge, or discard this patch.
lib/Data.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -152,6 +152,9 @@  discard block
 block discarded – undo
152 152
         return new Link ($href, $this->getMimeType (), Link::OPDS_ACQUISITION_TYPE, $title);
153 153
     }
154 154
 
155
+    /**
156
+     * @param Book $book
157
+     */
155 158
     public static function getDataByBook ($book) {
156 159
         global $config;
157 160
 
@@ -176,6 +179,9 @@  discard block
 block discarded – undo
176 179
         return $out;
177 180
     }
178 181
 
182
+    /**
183
+     * @param string $urlParam
184
+     */
179 185
     public static function handleThumbnailLink ($urlParam, $height) {
180 186
         global $config;
181 187
 
@@ -195,6 +201,10 @@  discard block
 block discarded – undo
195 201
         return $urlParam;
196 202
     }
197 203
 
204
+    /**
205
+     * @param string $type
206
+     * @param string $filename
207
+     */
198 208
     public static function getLink ($book, $type, $mime, $rel, $filename, $idData, $title = NULL, $height = NULL, $view = false)
199 209
     {
200 210
         global $config;
Please login to merge, or discard this patch.