Skip to content

Commit

Permalink
Fix phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
AleTorrisi committed Nov 18, 2024
1 parent 70b1e1f commit 37799c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions includes/Performance.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function () {
* @return void
*/
public function register_scripts() {
wp_enqueue_style( 'nfd-performance', $this->container->plugin()->url . '/vendor/newfold-labs/wp-module-performance' . '/styles/styles.css', null, '1', 'screen' );
wp_enqueue_style( 'nfd-performance', $this->container->plugin()->url . '/vendor/newfold-labs/wp-module-performance/styles/styles.css', null, '1', 'screen' );
}

/**
Expand Down Expand Up @@ -318,7 +318,7 @@ public function adminBarMenu( \WP_Admin_Bar $wp_admin_bar ) {
* Add to Newfold SDK runtime.
*
* @param array $sdk
* @return array
* @return array SDK data.
*/
public function add_to_runtime( $sdk ) {
$values = array(
Expand Down
2 changes: 1 addition & 1 deletion includes/RestApi/JetpackController.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function set_options( $request ) {

$result = update_option( $option_key, $option_value );

if ( $result === false ) {
if ( false === $result ) {
return new \WP_REST_Response(
array(
'success' => false,
Expand Down

0 comments on commit 37799c1

Please sign in to comment.