Commit a65d6de7 authored by Côme Chilliet's avatar Côme Chilliet

🚑 fix(PhoneNumberAttribute) Add missing $this->

issue #5965
parent f5dc27cc
......@@ -90,7 +90,7 @@ class PhoneNumberButtonAttribute extends PhoneNumberAttribute
$objectTypes = ['phone','mobilePhone'];
break;
default:
throw new FusionDirectoryException('Invalid type "'.$type.'" for PhoneNumberButtonAttribute');
throw new FusionDirectoryException('Invalid type "'.$this->type.'" for PhoneNumberButtonAttribute');
}
return [
......
  • SonarQube analysis reported 1 issue

    • 1 blocker

    Note: The following issues were found on lines that were not modified in the commit. Because these issues can't be reported as line comments, they are summarized here:

    1. Review the data-flow - use of uninitialized value. 📘
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment