Skip to content

Commit

Permalink
[Analytics][Tracker] Feature Smile-SA#3340, phpmd warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
vahonc committed Sep 20, 2024
1 parent 2bbcb7b commit 1e4be65
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class Customer extends \Smile\ElasticsuiteTracker\Block\Variables\Page\AbstractB
* @param array $data Additional data.
*
* @throws LocalizedException
* @SuppressWarnings(PHPMD.ElseExpression)
*/
public function __construct(
Template\Context $context,
Expand Down Expand Up @@ -103,6 +104,7 @@ public function getVariables()
* Otherwise, assign the 'NOT LOGGED IN' group ID.
*
* @return array
* @SuppressWarnings(PHPMD.ElseExpression)
*/
private function getCustomerGroupId()
{
Expand All @@ -125,6 +127,7 @@ private function getCustomerGroupId()
* Otherwise, return null for guests or when the module is not available.
*
* @return array
* @SuppressWarnings(PHPMD.ElseExpression)
*/
private function getCustomerCompanyId()
{
Expand Down

0 comments on commit 1e4be65

Please sign in to comment.