Completed
Push — work-fleets ( 6b7253...c0452c )
by SuperNova.WS
06:17
created
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   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,6 +115,9 @@  discard block
 block discarded – undo
115 115
   }
116 116
 
117 117
 
118
+  /**
119
+   * @param string $query
120
+   */
118 121
   public function setQuery($query) {
119 122
     $this->query = $query;
120 123
 
@@ -128,6 +131,9 @@  discard block
 block discarded – undo
128 131
     }
129 132
   }
130 133
 
134
+  /**
135
+   * @param string $comment
136
+   */
131 137
   protected function commentAdd($comment) {
132 138
     if (empty($this->values[static::COMMENT_PLACEHOLDER])) {
133 139
       $this->query .= static::COMMENT_PLACEHOLDER;
@@ -261,7 +267,7 @@  discard block
 block discarded – undo
261 267
   }
262 268
 
263 269
   /**
264
-   * @return bool|mysqli_result
270
+   * @return mysqli_result
265 271
    */
266 272
   public function getResult() {
267 273
     return $this->statement->get_result();
Please login to merge, or discard this patch.