Skip to content

Commit

Permalink
Coding Standards: Correct spacing for spread operators.
Browse files Browse the repository at this point in the history
No space allowed between the operator and the variable it applies to.

Note: This is enforced by WPCS 3.0.0.

Follow-up to [46133].

Props jrf.
See #59161, #58831.

git-svn-id: https://develop.svn.wordpress.org/trunk@56551 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Sep 10, 2023
1 parent 2a13d93 commit 858bd4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-customize-panel.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function check_capabilities() {
return false;
}

if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) {
if ( $this->theme_supports && ! current_theme_supports( ...(array) $this->theme_supports ) ) {
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-customize-section.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ final public function check_capabilities() {
return false;
}

if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) {
if ( $this->theme_supports && ! current_theme_supports( ...(array) $this->theme_supports ) ) {
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-customize-setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ final public function check_capabilities() {
return false;
}

if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) {
if ( $this->theme_supports && ! current_theme_supports( ...(array) $this->theme_supports ) ) {
return false;
}

Expand Down

0 comments on commit 858bd4b

Please sign in to comment.