Skip to content

Commit

Permalink
Fix PHPCS error
Browse files Browse the repository at this point in the history
  • Loading branch information
shishir-intelli committed Sep 25, 2023
1 parent 41ae82f commit ce9b8bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function __construct(SDKConnectorInterface $sdk_connector, OrganizationCo
*/
public function validateApigeexTeamEnabled(RequestEvent $event) {
/** @var \Symfony\Component\Routing\Route $current_route */
if (($current_route = $event->getRequest()->get('_route')) && (strpos($current_route, 'team') !== false)) {
if (($current_route = $event->getRequest()->get('_route')) && (strpos($current_route, 'team') !== FALSE)) {
$organization = $this->orgController->load($this->connector->getOrganization());
if ($organization && $this->orgController->isOrganizationApigeeX()) {
if ($organization->getAddonsConfig() || TRUE === $organization->getAddonsConfig()->getMonetizationConfig()->getEnabled()) {
Expand Down

0 comments on commit ce9b8bf

Please sign in to comment.