Completed
Branch master (a2db23)
by Pierre-Henry
33:35
created
_protected/framework/Layout/Form/Engine/PFBC/Form.class.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -128,6 +128,9 @@  discard block
 block discarded – undo
128 128
         return $valid;
129 129
     }
130 130
 
131
+    /**
132
+     * @param string $id
133
+     */
131 134
     private static function recover($id)
132 135
     {
133 136
         if (!empty($_SESSION['pfbc'][$id]['form']))
@@ -151,6 +154,9 @@  discard block
 block discarded – undo
151 154
             unset($_SESSION['pfbc'][$id]['errors']);
152 155
     }
153 156
 
157
+    /**
158
+     * @param string $id
159
+     */
154 160
     public static function setSessionValue($id, $element, $value)
155 161
     {
156 162
         $_SESSION['pfbc'][$id]['values'][$element] = $value;
@@ -159,6 +165,9 @@  discard block
 block discarded – undo
159 165
     /*This method parses the form's width property into a numeric width value and a width suffix - either px or %.
160 166
     These values are used by the form's concrete view class.*/
161 167
 
168
+    /**
169
+     * @param string $id
170
+     */
162 171
     public static function setError($id, $messages, $element = '')
163 172
     {
164 173
         if (!is_array($messages))
@@ -186,6 +195,9 @@  discard block
 block discarded – undo
186 195
             $form->error->renderAjaxErrorResponse();
187 196
     }
188 197
 
198
+    /**
199
+     * @param string $id
200
+     */
189 201
     public static function setSuccess($id, $message, $element = '')
190 202
     {
191 203
         return (new Design)->setFlashMsg($message, Design::SUCCESS_TYPE);
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.
_protected/app/system/core/classes/AdsCore.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@
 block discarded – undo
37 37
     /**
38 38
      * Checks Ads Table.
39 39
      *
40
+     * @param string $sTable
40 41
      * @return string|void Returns the table name if it is correct, nothing otherwise.
41 42
      *
42 43
      * @throws \PH7\Framework\Error\CException\PH7InvalidArgumentException If the table is not valid.
Please login to merge, or discard this patch.
system/modules/lost-password/forms/processing/ForgotPasswordFormProcess.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
 
20 20
     private $oUserModel;
21 21
 
22
+    /**
23
+     * @param string|null $sTable
24
+     */
22 25
     public function __construct($sTable)
23 26
     {
24 27
         parent::__construct();
Please login to merge, or discard this patch.