| @@ -411,6 +411,9 @@ | ||
| 411 | 411 | |
| 412 | 412 | class CreateEcommerceVariations_Field extends LiteralField | 
| 413 | 413 |  { | 
| 414 | + /** | |
| 415 | + * @param string $name | |
| 416 | + */ | |
| 414 | 417 | public function __construct($name, $additionalContent = '', $productID) | 
| 415 | 418 |      { | 
| 416 | 419 |          Requirements::themedCSS("CreateEcommerceVariationsField", "ecommerce_product_variation"); | 
| @@ -337,7 +337,7 @@ discard block | ||
| 337 | 337 | * and AttributeValues are used for the table rows then the columns will be | 
| 338 | 338 | * in the same order. | 
| 339 | 339 | * | 
| 340 | - * @return DataObjectSet | |
| 340 | + * @return ArrayList | |
| 341 | 341 | */ | 
| 342 | 342 | public function AttributeValuesSorted() | 
| 343 | 343 |      { | 
| @@ -751,7 +751,7 @@ discard block | ||
| 751 | 751 | /** | 
| 752 | 752 | * You can set an alternative class name for order item using this method. | 
| 753 | 753 | * | 
| 754 | - * @param string $ClassName | |
| 754 | + * @param string $className | |
| 755 | 755 | **/ | 
| 756 | 756 | public function setAlternativeClassNameForOrderItem($className) | 
| 757 | 757 |      { | 
| @@ -969,7 +969,7 @@ discard block | ||
| 969 | 969 | * In templates, it is used like this: | 
| 970 | 970 | * $EcommerceConfigAjax.TableID. | 
| 971 | 971 | * | 
| 972 | - * @return EcommerceConfigAjax | |
| 972 | + * @return EcommerceConfigAjaxDefinitions | |
| 973 | 973 | **/ | 
| 974 | 974 | public function AJAXDefinitions() | 
| 975 | 975 |      { | 
| @@ -66,7 +66,7 @@ | ||
| 66 | 66 | * | 
| 67 | 67 | * @param Member $member | 
| 68 | 68 | * | 
| 69 | - * @return bool | |
| 69 | + * @return false|null | |
| 70 | 70 | */ | 
| 71 | 71 | public function canDelete($member = null) | 
| 72 | 72 |      { | 
| @@ -226,7 +226,7 @@ | ||
| 226 | 226 | |
| 227 | 227 | /** | 
| 228 | 228 | * | 
| 229 | - * @param String $emptyString | |
| 229 | + * @param String $emptystring | |
| 230 | 230 | * @param DataList $values | 
| 231 | 231 | * | 
| 232 | 232 | * @return DropdownField | HiddenField | 
| @@ -4,6 +4,9 @@ | ||
| 4 | 4 |  { | 
| 5 | 5 | protected $verbose = true; | 
| 6 | 6 | |
| 7 | + /** | |
| 8 | + * @param SS_Object $product | |
| 9 | + */ | |
| 7 | 10 | public static function create_link($product) | 
| 8 | 11 |      { | 
| 9 | 12 |          if (is_numeric($product)) { |