Completed
Branch master (cbd358)
by Pierre-Henry
36:07
created
_protected/framework/Layout/Form/Engine/PFBC/Element.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -198,6 +198,9 @@
 block discarded – undo
198 198
         $this->form = $form;
199 199
     }
200 200
 
201
+    /**
202
+     * @param string $id
203
+     */
201 204
     public function setID($id)
202 205
     {
203 206
         $this->attributes['id'] = $id;
Please login to merge, or discard this patch.
_protected/framework/Layout/Form/Form.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
      * Get Time text.
115 115
      *
116 116
      * @param integer $iWaitTime
117
-     * @return integer
117
+     * @return string
118 118
      */
119 119
     private static function _getTimeText($iWaitTime)
120 120
     {
Please login to merge, or discard this patch.
_protected/framework/Mvc/Model/Engine/Util/Various.class.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * Convert mod to table.
48 48
      *
49 49
      * @param string $Mod
50
-     * @return mixed (string | void) Returns the table if it is correct.
50
+     * @return string (string | void) Returns the table if it is correct.
51 51
      * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid.
52 52
      */
53 53
     public static function convertModToTable($Mod)
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * @see \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr()
120 120
      *
121 121
      * @param string $sTable
122
-     * @return mixed (string | void) Returns the table if it is correct.
122
+     * @return string (string | void) Returns the table if it is correct.
123 123
      * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid.
124 124
      */
125 125
     public static function convertTableToId($sTable)
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
      * @see \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr()
181 181
      *
182 182
      * @param string $sTable
183
-     * @return mixed (string | void) Returns the table if it is correct.
183
+     * @return string|null (string | void) Returns the table if it is correct.
184 184
      * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid.
185 185
      */
186 186
     public static function checkTable($sTable)
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      * @see \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr()
213 213
      *
214 214
      * @param string $sTable
215
-     * @return mixed (string | void) Returns the table if it is correct.
215
+     * @return string|null (string | void) Returns the table if it is correct.
216 216
      * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid.
217 217
      */
218 218
     public static function checkModelTable($sTable)
Please login to merge, or discard this patch.
_protected/framework/Security/Validate/Filter.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -585,7 +585,7 @@
 block discarded – undo
585 585
      * things like j a v a s c r i p t
586 586
      *
587 587
      * @param    type
588
-     * @return    type
588
+     * @return    string
589 589
      */
590 590
     protected function _compact_exploded_words($matches)
591 591
     {
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
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
      /**
32 32
       * Emit a signal.
33 33
       *
34
-      * @param mixed $mVar [, string $... ]
35 34
       * @return string
36 35
       */
37 36
      public static function emit()
Please login to merge, or discard this patch.
_protected/framework/Translate/Lang.class.php 2 patches
Unused Use Statements   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,8 @@  discard block
 block discarded – undo
14 14
 {
15 15
  defined('PH7') or exit('Restricted access');
16 16
 
17
- use PH7\Framework\Config\Config, PH7\Framework\Cookie\Cookie;
17
+ use PH7\Framework\Config\Config;
18
+ use PH7\Framework\Cookie\Cookie;
18 19
 
19 20
  class Lang
20 21
  {
@@ -177,7 +178,8 @@  discard block
 block discarded – undo
177 178
 namespace
178 179
 {
179 180
 
180
- use PH7\Framework\Registry\Registry, PH7\Framework\Parse\SysVar;
181
+ use PH7\Framework\Registry\Registry;
182
+ use PH7\Framework\Parse\SysVar;
181 183
 
182 184
  /**
183 185
   * Check if GetText PHP extension exists, if not, it'll includes the GetText library.
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
       * Set the default language name.
49 49
       *
50 50
       * @param string $sNewDefLang Prefix of the language.
51
-      * @return object $this
51
+      * @return Lang $this
52 52
       */
53 53
      public function setDefaultLang($sNewDefLang)
54 54
      {
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
      /**
61 61
       * Set the user language name.
62 62
       *
63
-      * @param string $sNewDefaultLang Prefix of the language.
64
-      * @return object $this
63
+      * @return Lang $this
65 64
       */
66 65
      public function setUserLang($sNewUserLang)
67 66
      {
@@ -120,7 +119,7 @@  discard block
 block discarded – undo
120 119
       *
121 120
       * @param string $sFileName The language filename (e.g., "global").
122 121
       * @param string $sPath If you want to change the default path (the path to the current module), you can specify the path. Default NULL
123
-      * @return object $this
122
+      * @return Lang $this
124 123
       */
125 124
      public function load($sFileName, $sPath = null)
126 125
      {
@@ -134,7 +133,7 @@  discard block
 block discarded – undo
134 133
      /**
135 134
       * Loading language files.
136 135
       *
137
-      * @return object $this
136
+      * @return Lang $this
138 137
       * @throws \PH7\Framework\Translate\Exception If the language file is not found.
139 138
       */
140 139
      public function init()
@@ -202,7 +201,6 @@  discard block
 block discarded – undo
202 201
  /**
203 202
   * Language helper function.
204 203
   *
205
-  * @param string $sVar [, string $... ]
206 204
   * @return string Returns the text with gettext function or language in an array (this depends on whether a key language was found in the language table).
207 205
   */
208 206
  function t(...$aTokens)
Please login to merge, or discard this patch.
_protected/framework/Xml/Feed/Rss.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      *
60 60
      * @access public
61 61
      * @param array $aItems
62
-     * @return object this
62
+     * @return Rss this
63 63
      */
64 64
     public function addItem($aItems)
65 65
     {
Please login to merge, or discard this patch.
_protected/library/Service/Google/OAuth/auth/Google_P12Signer.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -27,6 +27,10 @@  discard block
 block discarded – undo
27 27
   private $privateKey;
28 28
 
29 29
   // Creates a new signer from a .p12 file.
30
+
31
+  /**
32
+   * @param string $password
33
+   */
30 34
   function __construct($p12, $password) {
31 35
     if (!function_exists('openssl_x509_read')) {
32 36
       throw new Exception(
@@ -57,6 +61,9 @@  discard block
 block discarded – undo
57 61
     }
58 62
   }
59 63
 
64
+  /**
65
+   * @param string $data
66
+   */
60 67
   function sign($data) {
61 68
     if(version_compare(PHP_VERSION, '5.3.0') < 0) {
62 69
       throw new Google_AuthException(
Please login to merge, or discard this patch.
_protected/library/Service/Google/OAuth/auth/Google_PemVerifier.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,8 @@
 block discarded – undo
51 51
    * Verifies the signature on data.
52 52
    *
53 53
    * Returns true if the signature is valid, false otherwise.
54
-   * @param $data
55
-   * @param $signature
54
+   * @param string $data
55
+   * @param string $signature
56 56
    * @throws Google_AuthException
57 57
    * @return bool
58 58
    */
Please login to merge, or discard this patch.