Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
dshanske committed Dec 28, 2024
1 parent 36baa35 commit 02e23b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion includes/class-location-plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public static function micropub_set_location( $input, $args ) {
if ( ! $term ) {
$term = Location_Taxonomy::get_post_location( $venue );
if ( $term ) {
Location_Taxonomy::set_location( $id, $term );
Location_Taxonomy::set_location( $args['ID'] , $term );

Check failure on line 255 in includes/class-location-plugins.php

View workflow job for this annotation

GitHub Actions / phpcs

Space found before comma in argument list
}
}
}
Expand Down
4 changes: 0 additions & 4 deletions includes/weather/class-weather-provider-metoffice.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,6 @@ public function weather_type( $type ) {
* @return string Textual Summary of Status Code.
**/
public static function code_map( $type ) {
$conditions = array();
if ( array_key_exists( $code, $conditions ) ) {
return $conditions[ $code ];
}
$types = array(
0 => 800,
1 => 800,
Expand Down

0 comments on commit 02e23b8

Please sign in to comment.