Fixed readme

Ignore loose number comparison
This commit is contained in:
Justin Foell
2020-04-24 16:43:20 -05:00
parent ed08d998de
commit 5c4a47c2ab
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ class WPStrava_API {
}
// Try *one* real-time token refresh if 404.
if ( $retry && 404 == $response['response']['code'] ) {
if ( $retry && 404 == $response['response']['code'] ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
$retry = false;
$auth = WPStrava::get_instance()->auth;
if ( $auth instanceof WPStrava_AuthRefresh ) {