Skip to content

Commit

Permalink
replace continue in switch statement with break
Browse files Browse the repository at this point in the history
php throws the following warning:
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
continue doesn't make sense anyway as there is no loop to continue.
  • Loading branch information
kuehnelth authored and dugite-code committed Jan 14, 2019
1 parent 407168c commit 71f3e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.php
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ function processArticle($html, $config, $link)

default:
Feediron_Logger::get()->log(Feediron_Logger::LOG_TTRSS, "Unrecognized option: ".$config['type']);
continue;
break;
}
if(is_array($config['modify']))
{
Expand Down

0 comments on commit 71f3e4a

Please sign in to comment.