Completed
Push — master ( 24f014...ee1ff0 )
by
unknown
13:44
created
includes/modules/wps_address/controller/wps_address_ctr.php 1 patch
Doc Comments   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
 	 * Get all addresses for current customer for display
454 454
 	 *
455 455
 	 * @param integer $address_type_id The current identifier of address type -> attribute_set_id
456
-	 * @param string $address_type A string allowing to display
456
+	 * @param string $address_type_title A string allowing to display
457 457
 	 *
458 458
 	 * @return string The complete html output for customer addresses
459 459
 	 */
@@ -578,7 +578,7 @@  discard block
 block discarded – undo
578 578
 	 * @param integer $address_id Optionnal. Si fournit correspond à l'identifiant de l'adresse à éditer / If given: identifier of the address we want to update.
579 579
 	 * @param integer $customer_id Optinnal. Si fournit corrspond à l'identifiant du client pour lequel créer/éditer l'adresse / If given: Identifier of customer to create/update address for.
580 580
 	 *
581
-	 * @return array Un tableau contenant l'affihage du formulaire en premier index et le titre du forulaire en second index.
581
+	 * @return string[] Un tableau contenant l'affihage du formulaire en premier index et le titre du forulaire en second index.
582 582
 	 */
583 583
 	function loading_address_form( $address_type_id, $address_id = '', $customer_id = '' ) {
584 584
 		$first_address_checking = false;
@@ -605,7 +605,7 @@  discard block
 block discarded – undo
605 605
 	/**
606 606
 	 * Generate an array with all fields for the address form construction. Classified by address type.
607 607
 	 * @param $typeof
608
-	 * @return array
608
+	 * @return string
609 609
 	 */
610 610
 	public static function get_addresss_form_fields_by_type ( $typeof, $id ='' ) {
611 611
 		$submit_billing_and_shipping_info = !empty( $_POST['submitbillingAndShippingInfo'] ) ? sanitize_key( $_POST['submitbillingAndShippingInfo'] ) : '';
@@ -756,7 +756,6 @@  discard block
 block discarded – undo
756 756
 	 * @param string $type : Type of address
757 757
 	 * @param string $first : Customer first address ?
758 758
 	 * @param string $referer : Referer website page
759
-	 * @param string $admin : Display this form in admin panel
760 759
 	 */
761 760
 	public static function display_form_fields($type, $id = '', $first = '', $referer = '', $special_values = array(), $options = array(), $display_for_admin = array(), $other_customer = '' ) {
762 761
 		global $wpshop, $wpshop_form, $wpdb;
@@ -1115,9 +1114,9 @@  discard block
 block discarded – undo
1115 1114
 	 * [display_address_interface_content description]
1116 1115
 	 *
1117 1116
 	 * @param  [type]  $address_type_id  [description].
1118
-	 * @param  [type]  $address_title    [description].
1117
+	 * @param  string  $address_title    [description].
1119 1118
 	 * @param  [type]  $selected_address [description].
1120
-	 * @param  [type]  $type             [description].
1119
+	 * @param  string  $type             [description].
1121 1120
 	 * @param  string  $customer_id      [description].
1122 1121
 	 * @param  boolean $admin_display    [description].
1123 1122
 	 * @param  string  $order_id         [description].
Please login to merge, or discard this patch.
includes/modules/wps_customer/controller/wps_account_ctr.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -537,7 +537,7 @@  discard block
 block discarded – undo
537 537
 	}
538 538
 
539 539
 	/** SIGN UP - Display the commercial & newsletter form
540
-	 * @return void
540
+	 * @return string
541 541
 	 */
542 542
 	function display_commercial_newsletter_form() {
543 543
 		$output = '';
@@ -719,6 +719,9 @@  discard block
 block discarded – undo
719 719
 		return $output;
720 720
 	}
721 721
 
722
+	/**
723
+	 * @param integer $cid
724
+	 */
722 725
 	function save_account_informations( $cid, $args, $admin = true ) {
723 726
 		global $wpdb, $wpshop;
724 727
 
Please login to merge, or discard this patch.