Skip to content

Commit 0b9e264

Browse files
committed
Fix phpcs errors
1 parent 426913f commit 0b9e264

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

php/class-contextual-help.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ private function load_edit_help() {
8282
'content' => '<p>' . __( 'Snippets are similar to plugins - they both extend and expand the functionality of WordPress. Snippets are more light-weight, just a few lines of code, and do not put as much load on your server. Here you can add a new snippet, or edit an existing one.', 'code-snippets' ) . '</p>',
8383
) );
8484

85-
8685
$snippet_host_links = array(
8786
__( 'WP-Snippets', 'code-snippets' ) => __( 'http://wp-snippets.com', 'code-snippets' ),
8887
__( 'WP Snipp', 'code-snippets' ) => __( 'http://wpsnipp.com', 'code-snippets' ),

php/class-snippet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function __set( $field, $value ) {
120120
}
121121

122122
if ( ! $this->is_allowed_field( $field ) ) {
123-
throw new ErrorException('Trying to set invalid property on Snippets class: ' . $field, 0, E_WARNING );
123+
throw new ErrorException( 'Trying to set invalid property on Snippets class: ' . $field, 0, E_WARNING );
124124
}
125125

126126
/* Check if the field value should be filtered */

0 commit comments

Comments
 (0)