Completed
Branch master (9f1408)
by Nicolaas
05:42
created
code/control/cms/CountryPrice_TestController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -347,7 +347,7 @@
 block discarded – undo
347 347
     /**
348 348
      * returns the Distributor for the user
349 349
      * Needs to be in model so we can access from the order in the template.
350
-     * @return Varchar Field
350
+     * @return Distributor Field
351 351
      */
352 352
     public function MyDistributor()
353 353
     {
Please login to merge, or discard this patch.
code/control/CountryPrice_ChangeCountryController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,8 +69,8 @@
 block discarded – undo
69 69
     /**
70 70
      * Remove a query string parameter from an URL.
71 71
      *
72
-     * @param string $url
73 72
      * @param string $varname
73
+     * @param string $newCountryCode
74 74
      *
75 75
      * @return string
76 76
      */
Please login to merge, or discard this patch.
code/model/buyables/CountryPrice_BuyableExtension.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     /**
100 100
      * This is called from /ecommerce/code/Product
101 101
      * returning NULL is like returning TRUE, i.e. ignore this.
102
-     * @param Member (optional)   $member
102
+     * @param Member Member   $member
103 103
      * @param bool (optional)     $checkPrice
104 104
      * @return false | null
105 105
      */
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
      * as long as we do not give distributors access to the Products
401 401
      * this is fairly safe.
402 402
      * @param member (optiona) $member
403
-     * @return null / bool
403
+     * @return boolean / bool
404 404
      */
405 405
     public function canEdit($member = null)
406 406
     {
Please login to merge, or discard this patch.
code/model/buyables/CountryPrice_CopyPrices.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,6 @@
 block discarded – undo
96 96
      *  - ID
97 97
      * searches through children, until all all childpages have been added
98 98
      *
99
-     * @param  string $country [description]
100 99
      * @param  array  $values  [description]
101 100
      * @return array          [description]
102 101
      */
Please login to merge, or discard this patch.
code/model/CountryPrice.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@
 block discarded – undo
244 244
 
245 245
     /**
246 246
      * Returns if the currency is an old currency not used anymore.
247
-     * @return Boolean
247
+     * @return boolean|null
248 248
      */
249 249
     public function isObsolete()
250 250
     {
Please login to merge, or discard this patch.
code/model/process/extensions/CountryPrice_OrderDOD.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -47,6 +47,7 @@
 block discarded – undo
47 47
      * this method basically makes sure that the Order
48 48
      * has all the localised stuff attached to it, specifically
49 49
      * the right currency
50
+     * @param string $countryCode
50 51
      */
51 52
     public static function localise_order($countryCode = null, $force = false)
52 53
     {
Please login to merge, or discard this patch.