From e05a91c8c8e335edc8274211b4ad7235f0d5adf2 Mon Sep 17 00:00:00 2001 From: ksvirkou-hubspot Date: Thu, 23 Jul 2020 09:36:07 +0000 Subject: [PATCH 1/2] Apply php-cs-fixer changes --- sample-apps/trello-integration-app/src/views/oauth/login.php | 1 - 1 file changed, 1 deletion(-) diff --git a/sample-apps/trello-integration-app/src/views/oauth/login.php b/sample-apps/trello-integration-app/src/views/oauth/login.php index c2d261d8..018a825a 100644 --- a/sample-apps/trello-integration-app/src/views/oauth/login.php +++ b/sample-apps/trello-integration-app/src/views/oauth/login.php @@ -2,7 +2,6 @@ use Helpers\OAuth2Helper; use Helpers\TrelloOAuth; -use Helpers\UrlHelper; include __DIR__.'/../_partials/header.php'; ?> From 4c2c7a5cb707405a2ce402f35e324692a9d0e4a7 Mon Sep 17 00:00:00 2001 From: ksvirkou-hubspot Date: Fri, 21 Aug 2020 11:22:49 +0000 Subject: [PATCH 2/2] Apply php-cs-fixer changes --- sample-apps/timeline-app/src/Helpers/TimelineEventHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample-apps/timeline-app/src/Helpers/TimelineEventHelper.php b/sample-apps/timeline-app/src/Helpers/TimelineEventHelper.php index 1f0dfab9..c7943884 100644 --- a/sample-apps/timeline-app/src/Helpers/TimelineEventHelper.php +++ b/sample-apps/timeline-app/src/Helpers/TimelineEventHelper.php @@ -16,7 +16,7 @@ public static function createEvent(string $telegramChatId, string $eventTypeCode $request->setId(uniqid()); $request->setEmail(UsersRepository::getEmailByTelegramChatId($telegramChatId)); $request->setEventTemplateId(EventTypesRepository::getHubspotEventIDByCode($eventTypeCode)); - + if (!empty($tokens)) { $request->setTokens($tokens); }