diff --git a/src/Service.php b/src/Service.php index 4964753..466be1b 100644 --- a/src/Service.php +++ b/src/Service.php @@ -66,9 +66,8 @@ public static function Plan(String $action = '', Array $data = []) { $base_uri = "https://gateway.apibrasil.io/api/v2/plans/"; $method = $data['method'] ?? 'POST'; - $me = $action == "me" ? true : false; - if($me){ + if($action == "me"){ $base_uri = "https://gateway.apibrasil.io/api/v2/plan/"; }