Passed
Push — work-fleets ( 4e14e1...ed0220 )
by SuperNova.WS
05:21
created
includes/classes/DBStaticUser.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@  discard block
 block discarded – undo
78 78
   }
79 79
 
80 80
 
81
+  /**
82
+   * @param integer $config_user_birthday_range
83
+   */
81 84
   public static function db_user_list_to_celebrate($config_user_birthday_range) {
82 85
     return doquery(
83 86
       "SELECT
@@ -163,6 +166,9 @@  discard block
 block discarded – undo
163 166
   }
164 167
 
165 168
 
169
+  /**
170
+   * @param boolean $player
171
+   */
166 172
   public static function db_user_by_id($user_id_unsafe, $for_update = false, $fields = '*', $player = null) {
167 173
     return classSupernova::db_get_user_by_id($user_id_unsafe, $for_update, $fields, $player);
168 174
   }
Please login to merge, or discard this patch.
includes/classes/db_mysql.php 1 patch
Doc Comments   +10 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
   /**
125 125
    * @param string $query
126 126
    *
127
-   * @return mixed|string
127
+   * @return string
128 128
    */
129 129
   public function replaceTablePlaceholders($query) {
130 130
     $sql = $query;
@@ -138,8 +138,8 @@  discard block
 block discarded – undo
138 138
   }
139 139
 
140 140
   /**
141
-   * @param       $query
142
-   * @param       $fetch
141
+   * @param       string $query
142
+   * @param       boolean $fetch
143 143
    */
144 144
   protected function logQuery($query, $fetch) {
145 145
     if (!classSupernova::$config->debug) {
@@ -257,6 +257,10 @@  discard block
 block discarded – undo
257 257
 
258 258
 
259 259
   // TODO Заменить это на новый логгер
260
+
261
+  /**
262
+   * @param string $query
263
+   */
260 264
   protected function security_watch_user_queries($query) {
261 265
     global $user;
262 266
 
@@ -280,6 +284,9 @@  discard block
 block discarded – undo
280 284
   }
281 285
 
282 286
 
287
+  /**
288
+   * @param string $query
289
+   */
283 290
   public function security_query_check_bad_words($query, $skip_query_check = false) {
284 291
     if ($skip_query_check) {
285 292
       return;
Please login to merge, or discard this patch.
includes/classes/DbSqlPrepare.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@  discard block
 block discarded – undo
59 59
   }
60 60
 
61 61
 
62
+  /**
63
+   * @param string $query
64
+   */
62 65
   public function setQuery($query) {
63 66
     $this->query = $query;
64 67
 
@@ -72,6 +75,9 @@  discard block
 block discarded – undo
72 75
     }
73 76
   }
74 77
 
78
+  /**
79
+   * @param string $comment
80
+   */
75 81
   public function commentAdd($comment) {
76 82
     if (empty($this->values[static::COMMENT_PLACEHOLDER])) {
77 83
       $this->query .= ' ' . static::COMMENT_PLACEHOLDER;
Please login to merge, or discard this patch.
includes/classes/DbSqlStatement.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -99,6 +99,9 @@
 block discarded – undo
99 99
     return $this;
100 100
   }
101 101
 
102
+  /**
103
+   * @param DbSqlLiteral $fieldName
104
+   */
102 105
   public function field($fieldName) {
103 106
     $this->fields[] = $fieldName;
104 107
 
Please login to merge, or discard this patch.