Skip to content

Commit 858bd4b

Browse files
Coding Standards: Correct spacing for spread operators.
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
1 parent 2a13d93 commit 858bd4b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/wp-includes/class-wp-customize-panel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public function check_capabilities() {
242242
return false;
243243
}
244244

245-
if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) {
245+
if ( $this->theme_supports && ! current_theme_supports( ...(array) $this->theme_supports ) ) {
246246
return false;
247247
}
248248

src/wp-includes/class-wp-customize-section.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ final public function check_capabilities() {
264264
return false;
265265
}
266266

267-
if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) {
267+
if ( $this->theme_supports && ! current_theme_supports( ...(array) $this->theme_supports ) ) {
268268
return false;
269269
}
270270

src/wp-includes/class-wp-customize-setting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ final public function check_capabilities() {
836836
return false;
837837
}
838838

839-
if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) {
839+
if ( $this->theme_supports && ! current_theme_supports( ...(array) $this->theme_supports ) ) {
840840
return false;
841841
}
842842

0 commit comments

Comments
 (0)