Completed
Branch master (5dd3c8)
by Pierre-Henry
35:31
created
_protected/app/system/core/models/RatingCoreModel.php 1 patch
Doc Comments   +17 added lines patch added patch discarded remove patch
@@ -17,6 +17,10 @@  discard block
 block discarded – undo
17 17
 
18 18
     const CACHE_GROUP = 'db/sys/core/rating', CACHE_TIME = 604800;
19 19
 
20
+    /**
21
+     * @param integer $iId
22
+     * @param string $sTable
23
+     */
20 24
     public function getVote($iId, $sTable)
21 25
     {
22 26
         $this->cache->start(self::CACHE_GROUP, 'getVote' . $iId . $sTable, static::
@@ -40,6 +44,10 @@  discard block
 block discarded – undo
40 44
         return $iData;
41 45
     }
42 46
 
47
+    /**
48
+     * @param integer $iId
49
+     * @param string $sTable
50
+     */
43 51
     public function getScore($iId, $sTable)
44 52
     {
45 53
         $this->cache->start(self::CACHE_GROUP, 'getScore' . $iId . $sTable, static::
@@ -63,6 +71,10 @@  discard block
 block discarded – undo
63 71
         return $fData;
64 72
     }
65 73
 
74
+    /**
75
+     * @param integer $iId
76
+     * @param string $sTable
77
+     */
66 78
     public function updateVotes($iId, $sTable)
67 79
     {
68 80
 
@@ -75,6 +87,11 @@  discard block
 block discarded – undo
75 87
         return $rStmt->execute();
76 88
     }
77 89
 
90
+    /**
91
+     * @param double $fScore
92
+     * @param integer $iId
93
+     * @param string $sTable
94
+     */
78 95
     public function updateScore($fScore, $iId, $sTable)
79 96
     {
80 97
         $sTable = Various::checkTable($sTable);
Please login to merge, or discard this patch.
_protected/framework/Structure/General.class.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
         /**
19 19
          * Emit a signal.
20 20
          *
21
-         * @param mixed $mVar [, string $... ]
22 21
          * @return string
23 22
          */
24 23
         public static function emit()
Please login to merge, or discard this patch.
_install/inc/fns/misc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -316,7 +316,7 @@
 block discarded – undo
316 316
 /**
317 317
  * Check if Apache's mod_rewrite is installed.
318 318
  *
319
- * @return bool
319
+ * @return null|boolean
320 320
  */
321 321
 function is_url_rewrite()
322 322
 {
Please login to merge, or discard this patch.
_protected/app/system/core/classes/design/LostPwdDesignCore.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * @param string $sMod
26 26
      * @param bool $bPrint Print or Return the HTML code.
27 27
      *
28
-     * @return void
28
+     * @return string|null
29 29
      */
30 30
     public static function link($sMod, $bPrint = true)
31 31
     {
Please login to merge, or discard this patch.
_protected/app/system/core/models/AdsCoreModel.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,8 +17,10 @@
 block discarded – undo
17 17
     /**
18 18
      * Get Advertisements in the database.
19 19
      *
20
-     * @param int|null $mActive 1 = active otherwise null. Default value is 1.
20
+     * @param integer $mActive 1 = active otherwise null. Default value is 1.
21 21
      * @param string $sTable The table.
22
+     * @param integer $iOffset
23
+     * @param integer $iLimit
22 24
      *
23 25
      * @return \stdClass The advertisements data.
24 26
      */
Please login to merge, or discard this patch.
_protected/app/system/core/models/CommentCoreModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      * @param int $iRecipientId
88 88
      * @param string $sTable
89 89
      *
90
-     * @return array|bool|float|int|object|string
90
+     * @return integer
91 91
      */
92 92
     public function total($iRecipientId, $sTable)
93 93
     {
Please login to merge, or discard this patch.
_protected/app/system/core/models/MailCoreModel.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
 // Abstract Class
14 14
 class MailCoreModel extends Framework\Mvc\Model\Engine\Model
15 15
 {
16
+    /**
17
+     * @param string $iProfileId
18
+     */
16 19
     public static function countUnreadMsg($iProfileId)
17 20
     {
18 21
         $rStmt = Db::getInstance()->prepare('SELECT COUNT(status) AS unread FROM' . Db::prefix('Messages') .
Please login to merge, or discard this patch.
_protected/app/system/core/models/UserCoreModel.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -457,6 +457,7 @@  discard block
 block discarded – undo
457 457
      *
458 458
      * @param int iProfileId
459 459
      * @param int $iStatus Values: 0 = Offline, 1 = Online, 2 = Busy, 3 = Away
460
+     * @param integer $iProfileId
460 461
      *
461 462
      * @return void
462 463
      */
@@ -1061,7 +1062,7 @@  discard block
 block discarded – undo
1061 1062
      * @param int $iOffset
1062 1063
      * @param int $iLimit
1063 1064
      *
1064
-     * @return stdClass|int Object with the users list returned or integer for the total number users returned.
1065
+     * @return integer Object with the users list returned or integer for the total number users returned.
1065 1066
      */
1066 1067
     public function getGeoProfiles($sCountryCode, $sCity, $bCount, $sOrder, $iOffset = null, $iLimit = null)
1067 1068
     {
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/controllers/UserController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -381,6 +381,9 @@
 block discarded – undo
381 381
         );
382 382
     }
383 383
 
384
+    /**
385
+     * @param integer $iStatus
386
+     */
384 387
     private function _moderateRegistration($iId, $iStatus)
385 388
     {
386 389
         if (isset($iId, $iStatus)) {
Please login to merge, or discard this patch.