Completed
Pull Request — master (#9826)
by Mike
15:37
created
includes/abstracts/abstract-wc-settings-api.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@
 block discarded – undo
174 174
 	 *
175 175
 	 * @param  string $key
176 176
 	 * @param  mixed  $empty_value
177
-	 * @return mixed  The value specified for the option or a default value for the option.
177
+	 * @return string  The value specified for the option or a default value for the option.
178 178
 	 */
179 179
 	public function get_option( $key, $empty_value = null ) {
180 180
 		if ( empty( $this->settings ) ) {
Please login to merge, or discard this patch.
includes/abstracts/abstract-wc-shipping-method.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
 	 *
123 123
 	 * Methods should override this to declare support (or lack of support) for a feature.
124 124
 	 *
125
-	 * @param $feature string The name of a feature to test support for.
125
+	 * @param string $feature string The name of a feature to test support for.
126 126
 	 * @return bool True if the shipping method supports the feature, false otherwise.
127 127
 	 */
128 128
 	public function supports( $feature ) {
Please login to merge, or discard this patch.
includes/class-wc-countries.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 	/**
65 65
 	 * Get continent code for a country code.
66 66
 	 * @since 2.6.0
67
-	 * @param $cc string
67
+	 * @param string $cc string
68 68
 	 * @return string
69 69
 	 */
70 70
 	public function get_continent_code_for_country( $cc ) {
Please login to merge, or discard this patch.
includes/class-wc-shipping-zones.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 	/**
83 83
 	 * Get shipping zone using it's ID
84 84
 	 * @since 2.6.0
85
-	 * @param int $zone_id
85
+	 * @param integer $instance_id
86 86
 	 * @return WC_Shipping_Meethod|bool
87 87
 	 */
88 88
 	public static function get_shipping_method( $instance_id ) {
Please login to merge, or discard this patch.