From 85781eb18b8c60c0870c3c1ff4e4729c240cb1ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sat, 6 Mar 2021 17:20:22 +0100 Subject: [PATCH] is_readable already returns a boolean --- better-font-awesome.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/better-font-awesome.php b/better-font-awesome.php index 51873ad..69d204b 100755 --- a/better-font-awesome.php +++ b/better-font-awesome.php @@ -223,11 +223,7 @@ public function get( $prop ) { * @since 0.10.0 */ public function bfal_exists() { - if ( ! is_readable( $this->bfa_lib_file_path ) ) { - return false; - } else { - return true; - } + return is_readable( $this->bfa_lib_file_path ); } /**