diff --git a/application/Espo/Modules/Crm/Business/Event/Ics.php b/application/Espo/Modules/Crm/Business/Event/Ics.php index f17aa02f39..48808b23d1 100644 --- a/application/Espo/Modules/Crm/Business/Event/Ics.php +++ b/application/Espo/Modules/Crm/Business/Event/Ics.php @@ -71,7 +71,7 @@ class Ics foreach ($attributes as $key => $value) { if (!property_exists($this, $key)) { - throw new RuntimeException("Bad attribute '{$key}'."); + throw new RuntimeException("Bad attribute '$key'."); } $this->$key = $value; @@ -88,6 +88,7 @@ class Ics return $this->output; } + /** @noinspection SpellCheckingInspection */ private function generate(): void { $this->output = @@ -126,7 +127,7 @@ class Ics } /** @var string */ - return preg_replace('/([\,;])/', '\\\$1', $string); + return preg_replace('/([,;])/', '\\\$1', $string); } private function formatMultiline(?string $string): string