Completed
Push — master ( 2b3083...8d7639 )
by Mike
08:13
created
includes/abstracts/abstract-wc-payment-token.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 	/**
64 64
 	 * Returns the payment token ID.
65 65
 	 * @since 2.6.0
66
-	 * @return ID Token ID
66
+	 * @return integer Token ID
67 67
 	 */
68 68
 	public function get_id() {
69 69
 		return absint( $this->_data['id'] );
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
 	/**
188 188
 	 * Update a payment token.
189 189
 	 * @since 2.6.0
190
-	 * @return True on success, false if validation failed and a payment token could not be updated
190
+	 * @return boolean on success, false if validation failed and a payment token could not be updated
191 191
 	 */
192 192
 	public function update() {
193 193
 		if ( false === $this->validate() ) {
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
 	/**
224 224
 	 * Create a new payment token in the database.
225 225
 	 * @since 2.6.0
226
-	 * @return True on success, false if validation failed and a payment token could not be created
226
+	 * @return boolean on success, false if validation failed and a payment token could not be created
227 227
 	 */
228 228
 	public function create() {
229 229
 		if ( false === $this->validate() ) {
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
 	/**
263 263
 	 * Saves a payment token to the database - does not require you to know if this is a new token or an update token.
264 264
 	 * @since 2.6.0
265
-	 * @return True on success, false if validation failed and a payment token could not be saved
265
+	 * @return boolean on success, false if validation failed and a payment token could not be saved
266 266
 	 */
267 267
 	public function save() {
268 268
 		if ( $this->get_id() > 0 ) {
Please login to merge, or discard this patch.