Skip to content

Commit f3d4fe3

Browse files
committed
Lint fix
1 parent f0992bf commit f3d4fe3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Plugin_Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ public function check_update( $args, $assoc_args ) {
177177
$items = $this->get_item_list();
178178
} else {
179179
// Get specific plugins and their update info
180-
$plugins = $this->fetcher->get_many( $args );
180+
$plugins = $this->fetcher->get_many( $args );
181181
$all_items = $this->get_item_list();
182-
$items = [];
182+
$items = [];
183183
foreach ( $plugins as $plugin ) {
184184
if ( isset( $all_items[ $plugin->file ] ) ) {
185185
$items[ $plugin->file ] = $all_items[ $plugin->file ];

src/Theme_Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ public function check_update( $args, $assoc_args ) {
171171
$items = $this->get_item_list();
172172
} else {
173173
// Get specific themes and their update info
174-
$themes = $this->fetcher->get_many( $args );
174+
$themes = $this->fetcher->get_many( $args );
175175
$all_items = $this->get_item_list();
176-
$items = [];
176+
$items = [];
177177
foreach ( $themes as $theme ) {
178178
$stylesheet = $theme->get_stylesheet();
179179
if ( isset( $all_items[ $stylesheet ] ) ) {

0 commit comments

Comments
 (0)