Completed
Push — master ( b3c1c7...c901c8 )
by Marcus
02:39
created
src/Controller/Shop/Shoppingcart.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
     }
225 225
 
226 226
     /**
227
-     * @return bool
227
+     * @return false|null
228 228
      */
229 229
     private function doCheckout()
230 230
     {
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
     }
330 330
 
331 331
     /**
332
-     * @param $iInsertID
332
+     * @param string $iInsertID
333 333
      * @param $sMailbody_us
334 334
      * @param $sMailbody_they
335 335
      * @param $aImagesToSend
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
     }
377 377
 
378 378
     /**
379
-     * @param $field
379
+     * @param string $field
380 380
      * @return string
381 381
      */
382 382
     private function getPostValue($field)
Please login to merge, or discard this patch.
src/Controller/Shop/Updatecart.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
     }
119 119
 
120 120
     /**
121
-     * @param $sReply
121
+     * @param string $sReply
122 122
      * @param array $aMore
123 123
      */
124 124
     private function replyToCartUpdate($sReply, $aMore = []) {
Please login to merge, or discard this patch.
src/Customer/Helper.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -27,6 +27,9 @@  discard block
 block discarded – undo
27 27
 
28 28
 class Helper
29 29
 {
30
+    /**
31
+     * @param string $sLang
32
+     */
30 33
     public static function validateCustomerForm($sLang, $aErr = [], $bEdit = false)
31 34
     {
32 35
         if (!isset($_POST["email"]) || !\filter_var($_POST["email"], FILTER_VALIDATE_EMAIL)) $aErr["email"] = true;
@@ -68,6 +71,11 @@  discard block
 block discarded – undo
68 71
         return '';
69 72
     }
70 73
 
74
+    /**
75
+     * @param string $sKeyConfig
76
+     * @param string $sKeyForm
77
+     * @param boolean $aUserData
78
+     */
71 79
     public static function getCustomerFormDefaultValue($sKeyConfig, $sKeyForm, $aUserData) {
72 80
         $sDefaultValue = self::getUserData($sKeyConfig, $aUserData);
73 81
         if (!$sDefaultValue && isset($_SESSION["formsave_addrform"][$sKeyForm])) $sDefaultValue = $_SESSION["formsave_addrform"][$sKeyForm];
@@ -75,6 +83,9 @@  discard block
 block discarded – undo
75 83
         return $sDefaultValue;
76 84
     }
77 85
 
86
+    /**
87
+     * @param string $sLang
88
+     */
78 89
     public static function buildCustomerForm($sLang, $sPurpose = 'none', $sErr = '', $aUserData = false)
79 90
     {
80 91
         $sDefaultCountry = self::getCustomerFormDefaultValue('cust_country', "country", $aUserData);
Please login to merge, or discard this patch.
src/Helper.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -214,6 +214,9 @@  discard block
 block discarded – undo
214 214
         return $aP;
215 215
     }
216 216
 
217
+    /**
218
+     * @param Page $P
219
+     */
217 220
     private static function getDebug($aP, $P)
218 221
     {
219 222
         if (!empty($_POST)) {
@@ -260,6 +263,9 @@  discard block
 block discarded – undo
260 263
         return $sLang;
261 264
     }
262 265
 
266
+    /**
267
+     * @param string $purpose
268
+     */
263 269
     public static function getPurifier($purpose)
264 270
     {
265 271
         $purifier_config = \HTMLPurifier_Config::createDefault();
Please login to merge, or discard this patch.
src/UserPage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@
 block discarded – undo
85 85
         return $hResult->execute();
86 86
     }
87 87
 
88
+    /**
89
+     * @param string $sPagekeytoadd
90
+     */
88 91
     public function insert($sPagekeytoadd) {
89 92
         $aData = [
90 93
             'cb_key' => $sPagekeytoadd,
Please login to merge, or discard this patch.