Skip to content

Commit 7f871b6

Browse files
committed
Lint fixes
1 parent 5d7d4fa commit 7f871b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/Services/StatusService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private static function is_site_created_within_last_9_months(): bool {
6464
* @return bool True if the page is a page refresh, false otherwise.
6565
*/
6666
private static function is_page_refresh(): bool {
67-
if ( isset( $_SERVER['HTTP_CACHE_CONTROL'] ) && $_SERVER['HTTP_CACHE_CONTROL'] == 'max-age=0' ) {
67+
if ( isset( $_SERVER['HTTP_CACHE_CONTROL'] ) && 'max-age=0' === $_SERVER['HTTP_CACHE_CONTROL'] ) {
6868
return true;
6969
}
7070

0 commit comments

Comments
 (0)