Passed
Push — master ( 1a2937...7c8e79 )
by Markus
14:21
created
lib/CustomColumnType.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@  discard block
 block discarded – undo
39 39
     /** @var null|Entry[] */
40 40
     private $customValues = NULL;
41 41
 
42
+    /**
43
+     * @param string $pdatatype
44
+     */
42 45
     protected function __construct($pcustomId, $pdatatype)
43 46
     {
44 47
         $this->columnTitle = self::getTitleByCustomID($pcustomId);
@@ -147,7 +150,7 @@  discard block
 block discarded – undo
147 150
     /**
148 151
      * Encode a value of this column ready to be displayed in an HTML document
149 152
      *
150
-     * @param integer|string $value
153
+     * @param string $value
151 154
      * @return string
152 155
      */
153 156
     public function encodeHTMLValue($value)
@@ -277,7 +280,7 @@  discard block
 block discarded – undo
277 280
     /**
278 281
      * Get a CustomColumn for a specified (by ID) value
279 282
      *
280
-     * @param string|integer $id the id of the searched value
283
+     * @param integer $id the id of the searched value
281 284
      * @return CustomColumn
282 285
      */
283 286
     abstract public function getCustom($id);
Please login to merge, or discard this patch.
lib/Publisher.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
36 36
         return self::getEntryArray (self::SQL_ALL_RATINGS, array ());
37 37
     }
38 38
 
39
+    /**
40
+     * @param string $query
41
+     */
39 42
     public static function getEntryArray ($query, $params) {
40 43
         list (, $result) = parent::executeQuery ($query, self::RATING_COLUMNS, "", $params, -1);
41 44
         $entryArray = array();
Please login to merge, or discard this patch.
lib/Serie.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
36 36
         return self::getEntryArray (self::SQL_ALL_RATINGS, array ());
37 37
     }
38 38
 
39
+    /**
40
+     * @param string $query
41
+     */
39 42
     public static function getEntryArray ($query, $params) {
40 43
         list (, $result) = parent::executeQuery ($query, self::RATING_COLUMNS, "", $params, -1);
41 44
         $entryArray = array();
Please login to merge, or discard this patch.
lib/Tag.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -46,6 +46,10 @@
 block discarded – undo
46 46
         return Base::getEntryArrayWithBookNumber (self::SQL_ALL_TAGS, self::TAG_COLUMNS, array (), "Tag");
47 47
     }
48 48
 
49
+    /**
50
+     * @param string $query
51
+     * @param integer $numberPerPage
52
+     */
49 53
     public static function getAllTagsByQuery($query, $n, $database = NULL, $numberPerPage = NULL) {
50 54
         $columns  = "tags.id as id, tags.name as name, (select count(*) from books_tags_link where tags.id = tag) as count";
51 55
         $sql = 'select {0} from tags where upper (tags.name) like ? {1} order by tags.name';
Please login to merge, or discard this patch.