Test Failed
Branch trunk (412648)
by SuperNova.WS
03:40
created
classes/core_auth.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -829,10 +829,17 @@
 block discarded – undo
829 829
 
830 830
   // OK v4.5
831 831
   // TODO - REMEMBER_ME
832
+
833
+  /**
834
+   * @param integer $period
835
+   */
832 836
   protected static function cookie_set($value, $impersonate = false, $period = null) {
833 837
     sn_setcookie($impersonate ? SN_COOKIE_U_I : SN_COOKIE_U, $value, $period === null ? SN_TIME_NOW + PERIOD_YEAR : $period, SN_ROOT_RELATIVE);
834 838
   }
835 839
 
840
+  /**
841
+   * @param string $message
842
+   */
836 843
   protected static function flog($message, $die = false) {
837 844
     if(!defined('DEBUG_AUTH') || !DEBUG_AUTH) {
838 845
       return;
Please login to merge, or discard this patch.
classes/db_mysql.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -180,6 +180,9 @@  discard block
 block discarded – undo
180 180
   }
181 181
 
182 182
 
183
+  /**
184
+   * @param string $query
185
+   */
183 186
   function security_watch_user_queries($query) {
184 187
     // TODO Заменить это на новый логгер
185 188
     global $config, $is_watching, $user, $debug;
@@ -202,6 +205,9 @@  discard block
 block discarded – undo
202 205
   }
203 206
 
204 207
 
208
+  /**
209
+   * @param string $query
210
+   */
205 211
   function security_query_check_bad_words($query) {
206 212
     global $user, $dm_change_legit, $mm_change_legit;
207 213
 
Please login to merge, or discard this patch.
classes/db_mysql_v4.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@
 block discarded – undo
55 55
     return true;
56 56
   }
57 57
 
58
+  /**
59
+   * @param string $query_string
60
+   */
58 61
   function mysql_query($query_string) {
59 62
     return mysql_query($query_string, $this->link);
60 63
   }
Please login to merge, or discard this patch.
classes/DBStaticUnit.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@  discard block
 block discarded – undo
56 56
     WHERE unit_player_id = {$user_id} AND unit_location_type = " . LOC_PLANET . " AND unit_level > 0 AND unit_snid IN (" . STRUC_LABORATORY . ", " . STRUC_LABORATORY_NANO . ");");
57 57
   }
58 58
 
59
+  /**
60
+   * @param string $set
61
+   */
59 62
   public static function db_unit_set_by_id($unit_id, $set) {
60 63
     return classSupernova::db_upd_record_by_id(LOC_UNIT, $unit_id, $set);
61 64
   }
@@ -69,6 +72,9 @@  discard block
 block discarded – undo
69 72
     return classSupernova::db_ins_record(LOC_UNIT, $set);
70 73
   }
71 74
 
75
+  /**
76
+   * @param integer $unit_location_type
77
+   */
72 78
   public static function db_unit_list_delete($user_id = 0, $unit_location_type, $unit_location_id = 0, $unit_snid = 0) {
73 79
     return classSupernova::db_del_record_list(LOC_UNIT,
74 80
       "`unit_location_type` = {$unit_location_type}" .
Please login to merge, or discard this patch.
classes/Vector/Vector.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,8 @@
 block discarded – undo
70 70
   /**
71 71
    * Vector constructor.
72 72
    *
73
-   * @param int|string       $galaxy
74
-   * @param int|Vector|array $system
73
+   * @param integer       $galaxy
74
+   * @param integer $system
75 75
    * @param int              $planet
76 76
    * @param int              $type
77 77
    */
Please login to merge, or discard this patch.
includes/db/db_queries_fleet.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -141,6 +141,7 @@  discard block
 block discarded – undo
141 141
  * LIST - Get fleet list by condition
142 142
  *
143 143
  * @param string $where_safe
144
+ * @param boolean $for_update
144 145
  *
145 146
  * @return array
146 147
  */
@@ -432,6 +433,7 @@  discard block
 block discarded – undo
432 433
  * LIST - Get missile attack list by condition
433 434
  *
434 435
  * @param string $where
436
+ * @param boolean $for_update
435 437
  *
436 438
  * @return array
437 439
  */
Please login to merge, or discard this patch.
classes/BBCodeParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
     $this->design = $gc->design;
15 15
   }
16 16
 
17
+  /**
18
+   * @param integer $authorAccessLevel
19
+   */
17 20
   protected function applyElements($elements, $text, $authorAccessLevel = AUTH_LEVEL_REGISTERED) {
18 21
     foreach ($elements as $auth_level => $element) {
19 22
       if ($auth_level > $authorAccessLevel) {
Please login to merge, or discard this patch.
classes/classSupernova.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
    *   <p>null - транзакция НЕ должна быть запущена</p>
310 310
    *   <p>true - транзакция должна быть запущена - для совместимости с $for_update</p>
311 311
    *   <p>false - всё равно - для совместимости с $for_update</p>
312
-   * @return bool Текущий статус транзакции
312
+   * @return null|boolean Текущий статус транзакции
313 313
    */
314 314
   public static function db_transaction_check($status = null) {
315 315
     $error_msg = false;
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
   /**
377 377
    * Блокирует указанные таблицу/список таблиц
378 378
    *
379
-   * @param string|array $tables Таблица/список таблиц для блокировки. Названия таблиц - без префиксов
379
+   * @param string $tables Таблица/список таблиц для блокировки. Названия таблиц - без префиксов
380 380
    * <p>string - название таблицы для блокировки</p>
381 381
    * <p>array - массив, где ключ - имя таблицы, а значение - условия блокировки элементов</p>
382 382
    */
Please login to merge, or discard this patch.
classes/Common/AccessorsV2.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -97,9 +97,7 @@
 block discarded – undo
97 97
   /**
98 98
    * Gets accessor for later use
99 99
    *
100
-   * @param string $accessor
101 100
    *
102
-   * @param string $varName
103 101
    *
104 102
    * @return callable|null
105 103
    */
Please login to merge, or discard this patch.