diff --git a/Block/SentryScript.php b/Block/SentryScript.php index 61c7e94..89cc3a1 100644 --- a/Block/SentryScript.php +++ b/Block/SentryScript.php @@ -103,7 +103,7 @@ public function useSessionReplay(): bool } /** - * Get the session replay sample rate + * Get the session replay sample rate. */ public function getReplaySessionSampleRate(): float { @@ -111,7 +111,7 @@ public function getReplaySessionSampleRate(): float } /** - * Get the session replay error sample rate + * Get the session replay error sample rate. */ public function getReplayErrorSampleRate(): float { @@ -185,7 +185,7 @@ public function stripStoreCode() } /** - * Get Store code + * Get Store code. * * @return string */ @@ -195,7 +195,7 @@ public function getStoreCode() } /** - * Whether tracing is enabled + * Whether tracing is enabled. */ public function isTracingEnabled(): bool { @@ -203,7 +203,7 @@ public function isTracingEnabled(): bool } /** - * Get sample rate for tracing + * Get sample rate for tracing. */ public function getTracingSampleRate(): float { diff --git a/Helper/Data.php b/Helper/Data.php index 29b87c1..c6603c7 100644 --- a/Helper/Data.php +++ b/Helper/Data.php @@ -332,7 +332,7 @@ public function useSessionReplay(): bool } /** - * Get the session replay sample rate + * Get the session replay sample rate. */ public function getReplaySessionSampleRate(): float { @@ -340,7 +340,7 @@ public function getReplaySessionSampleRate(): float } /** - * Get the session replay error sample rate + * Get the session replay error sample rate. */ public function getReplayErrorSampleRate(): float { diff --git a/Model/Config/Source/LogLevel.php b/Model/Config/Source/LogLevel.php index 300a96f..ecfad56 100755 --- a/Model/Config/Source/LogLevel.php +++ b/Model/Config/Source/LogLevel.php @@ -8,7 +8,7 @@ class LogLevel implements ArrayInterface { /** - * Mapping of Monolog values to Strings + * Mapping of Monolog values to Strings. * * @return array */ diff --git a/Model/Config/Source/ScriptTagPlacement.php b/Model/Config/Source/ScriptTagPlacement.php index d44a38e..5f88129 100755 --- a/Model/Config/Source/ScriptTagPlacement.php +++ b/Model/Config/Source/ScriptTagPlacement.php @@ -7,7 +7,7 @@ class ScriptTagPlacement implements ArrayInterface { /** - * Mapping of script include positions to strings + * Mapping of script include positions to strings. * * @return array */ diff --git a/Model/SentryInteraction.php b/Model/SentryInteraction.php index d151fdc..eac8097 100644 --- a/Model/SentryInteraction.php +++ b/Model/SentryInteraction.php @@ -24,7 +24,7 @@ public function initialize($config) } /** - * Capture passed exception + * Capture passed exception. * * @param \Throwable $ex * diff --git a/Model/SentryLog.php b/Model/SentryLog.php index e7108d6..edf19dd 100755 --- a/Model/SentryLog.php +++ b/Model/SentryLog.php @@ -40,7 +40,7 @@ public function __construct( } /** - * Check and send log information to Sentry + * Check and send log information to Sentry. * * @param \Throwable|string $message * @param int $logLevel diff --git a/Plugin/GlobalExceptionCatcher.php b/Plugin/GlobalExceptionCatcher.php index 7741230..50c243b 100755 --- a/Plugin/GlobalExceptionCatcher.php +++ b/Plugin/GlobalExceptionCatcher.php @@ -37,7 +37,7 @@ public function __construct( * Wrap launch, start watching for exceptions. * * @param AppInterface $subject - * @param callable $proceed + * @param callable $proceed * * @return \Magento\Framework\App\ResponseInterface */ diff --git a/Plugin/LogrocketCustomerInfo.php b/Plugin/LogrocketCustomerInfo.php index 632eb35..736c691 100644 --- a/Plugin/LogrocketCustomerInfo.php +++ b/Plugin/LogrocketCustomerInfo.php @@ -12,7 +12,7 @@ class LogrocketCustomerInfo * LogrocketCustomerInfo construct. * * @param CurrentCustomer $currentCustomer - * @param Session $customerSession + * @param Session $customerSession */ public function __construct( protected CurrentCustomer $currentCustomer, @@ -24,7 +24,7 @@ public function __construct( * Add customer info to the section. * * @param Customer $subject - * @param array $result + * @param array $result * * @return array $result */ @@ -33,7 +33,7 @@ public function afterGetSectionData(Customer $subject, $result) if (!$this->customerSession->isLoggedIn()) { return $result; } - + $customer = $this->currentCustomer->getCustomer(); $result['email'] = $customer->getEmail(); diff --git a/Plugin/MonologPlugin.php b/Plugin/MonologPlugin.php index 651fbd4..9c36b5c 100755 --- a/Plugin/MonologPlugin.php +++ b/Plugin/MonologPlugin.php @@ -13,12 +13,12 @@ class MonologPlugin extends Monolog /** * @psalm-param array $processors * - * @param string $name The logging channel, a simple descriptive name that is attached to all log records - * @param Data $sentryHelper - * @param SentryLog $sentryLog - * @param DeploymentConfig $deploymentConfig - * @param \Monolog\Handler\HandlerInterface[] $handlers Optional stack of handlers, the first one in the array is called first, etc. - * @param callable[] $processors Optional array of processors + * @param string $name The logging channel, a simple descriptive name that is attached to all log records + * @param Data $sentryHelper + * @param SentryLog $sentryLog + * @param DeploymentConfig $deploymentConfig + * @param \Monolog\Handler\HandlerInterface[] $handlers Optional stack of handlers, the first one in the array is called first, etc. + * @param callable[] $processors Optional array of processors */ public function __construct( $name, @@ -34,10 +34,10 @@ public function __construct( /** * Adds a log record to Sentry. * - * @param int $level The logging level - * @param string $message The log message - * @param array $context The log context - * @param DateTimeImmutable $datetime Datetime of log + * @param int $level The logging level + * @param string $message The log message + * @param array $context The log context + * @param DateTimeImmutable $datetime Datetime of log * * @return bool Whether the record has been processed */