Skip to content

Commit 8ad432b

Browse files
committed
3961: Made default pluinname Loki in LokiClient
1 parent fb218a6 commit 8ad432b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Service/LokiClient.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,13 @@ private function sendPacket(array $packet): void {
180180
* The error code.
181181
* @param ?\Throwable $previous
182182
* The previous throwable.
183-
* @param ?string $pluginName
183+
* @param string $pluginName
184184
* The plugin name.
185185
*
186186
* @return \Drupal\os2web_audit\Exception\AuditException
187187
* The created exception.
188188
*/
189-
private function auditException(string $message = '', int $code = 0, ?\Throwable $previous = NULL, ?string $pluginName = 'Loki'): AuditException {
189+
private function auditException(string $message = '', int $code = 0, ?\Throwable $previous = NULL, string $pluginName = 'Loki'): AuditException {
190190
return new AuditException(
191191
message: $message,
192192
code: $code,
@@ -204,13 +204,13 @@ private function auditException(string $message = '', int $code = 0, ?\Throwable
204204
* The error code.
205205
* @param ?\Throwable $previous
206206
* The previous throwable.
207-
* @param ?string $pluginName
207+
* @param string $pluginName
208208
* The plugin name.
209209
*
210210
* @return \Drupal\os2web_audit\Exception\ConnectionException
211211
* The created exception.
212212
*/
213-
private function connectionException(string $message = '', int $code = 0, ?\Throwable $previous = NULL, ?string $pluginName = 'Loki'): ConnectionException {
213+
private function connectionException(string $message = '', int $code = 0, ?\Throwable $previous = NULL, string $pluginName = 'Loki'): ConnectionException {
214214
return new ConnectionException(
215215
message: $message,
216216
code: $code,

0 commit comments

Comments
 (0)