| @@ -92,9 +92,9 @@ | ||
| 92 | 92 | return isset( $templates[ $contact_form ] ) && ! empty( $templates[ $contact_form ]['url'] ); |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | - * @param string $code the code from the email sent for the API | |
| 96 | + * @param string $code the code from the email sent for the API. | |
| 97 | 97 | * |
| 98 | 98 | * @return void |
| 99 | 99 | */ |
| 100 | 100 | private static function verify_code( $code ) { |
| @@ -136,9 +136,9 @@ | ||
| 136 | 136 | } |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | /** |
| 140 | - * @param string $code the base64 encoded code | |
| 140 | + * @param string $code The base64 encoded code. | |
| 141 | 141 | * |
| 142 | 142 | * @return void |
| 143 | 143 | */ |
| 144 | 144 | private static function on_api_verify_code_success( $code ) { |
| @@ -172,9 +172,9 @@ | ||
| 172 | 172 | wp_send_json_error( $error ); |
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | $data['url'] = $data['urlByKey'][ $key ]; |
| 176 | - } | |
| 176 | + }//end if | |
| 177 | 177 | |
| 178 | 178 | wp_send_json_success( $data ); |
| 179 | 179 | } |
| 180 | 180 | |