@@ -34,7 +34,7 @@ |
||
| 34 | 34 | $this->uri = $request->toUri(); |
| 35 | 35 | $this->call = [ |
| 36 | 36 | $request->resourceObject::class, |
| 37 | - 'on' . ucfirst(strtolower($request->method)), |
|
| 37 | + 'on'.ucfirst(strtolower($request->method)), |
|
| 38 | 38 | ]; |
| 39 | 39 | |
| 40 | 40 | // Start XdebugTrace for profiling (handled internally) |
@@ -30,5 +30,5 @@ |
||
| 30 | 30 | /** |
| 31 | 31 | * Create context for resource error handling |
| 32 | 32 | */ |
| 33 | - public function createErrorContext(Throwable $exception, string $exceptionId = '', AbstractContext|null $openContext = null): AbstractContext; |
|
| 33 | + public function createErrorContext(Throwable $exception, string $exceptionId = '', AbstractContext | null $openContext = null): AbstractContext; |
|
| 34 | 34 | } |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | #[Override] |
| 30 | - public function createErrorContext(Throwable $exception, string $exceptionId = '', AbstractContext|null $openContext = null): ErrorContext |
|
| 30 | + public function createErrorContext(Throwable $exception, string $exceptionId = '', AbstractContext | null $openContext = null): ErrorContext |
|
| 31 | 31 | { |
| 32 | 32 | return ErrorContext::create($exception, $exceptionId); |
| 33 | 33 | } |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | public function __construct( |
| 32 | 32 | Throwable $exception, |
| 33 | 33 | string $exceptionId = '', |
| 34 | - OpenContext|null $openContext = null, |
|
| 34 | + OpenContext | null $openContext = null, |
|
| 35 | 35 | ) { |
| 36 | 36 | $this->exceptionAsString = (string) $exception; |
| 37 | 37 | $this->exceptionId = $exceptionId !== '' ? $exceptionId : $this->createExceptionId(); |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | public static function create( |
| 60 | 60 | Throwable $exception, |
| 61 | 61 | string $exceptionId = '', |
| 62 | - OpenContext|null $openContext = null, |
|
| 62 | + OpenContext | null $openContext = null, |
|
| 63 | 63 | ): self { |
| 64 | 64 | return new self($exception, $exceptionId, $openContext); |
| 65 | 65 | } |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | $crc = crc32($this->exceptionAsString); |
| 70 | 70 | $crcHex = dechex($crc & 0xFFFFFFFF); // Ensure positive hex value |
| 71 | 71 | |
| 72 | - return 'e-bear-resource-' . $crcHex; |
|
| 72 | + return 'e-bear-resource-'.$crcHex; |
|
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | /** @return array<string, mixed> */ |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | #[Override] |
| 30 | - public function createErrorContext(Throwable $exception, string $exceptionId = '', AbstractContext|null $openContext = null): ErrorContext |
|
| 30 | + public function createErrorContext(Throwable $exception, string $exceptionId = '', AbstractContext | null $openContext = null): ErrorContext |
|
| 31 | 31 | { |
| 32 | 32 | /** @var ?OpenContext $openContext */ |
| 33 | 33 | return ErrorContext::create($exception, $exceptionId, $openContext); |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | public function __construct( |
| 25 | 25 | Throwable $exception, |
| 26 | 26 | string $exceptionId = '', |
| 27 | - OpenContext|null $openContext = null, |
|
| 27 | + OpenContext | null $openContext = null, |
|
| 28 | 28 | ) { |
| 29 | 29 | $this->exceptionAsString = (string) $exception; |
| 30 | 30 | $this->exceptionId = $exceptionId !== '' ? $exceptionId : $this->createExceptionId(); |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | public static function create( |
| 37 | 37 | Throwable $exception, |
| 38 | 38 | string $exceptionId = '', |
| 39 | - OpenContext|null $openContext = null, |
|
| 39 | + OpenContext | null $openContext = null, |
|
| 40 | 40 | ): self { |
| 41 | 41 | return new self($exception, $exceptionId, $openContext); |
| 42 | 42 | } |
@@ -46,6 +46,6 @@ discard block |
||
| 46 | 46 | $crc = crc32($this->exceptionAsString); |
| 47 | 47 | $crcHex = dechex($crc & 0xFFFFFFFF); // Ensure positive hex value |
| 48 | 48 | |
| 49 | - return 'e-bear-resource-' . $crcHex; |
|
| 49 | + return 'e-bear-resource-'.$crcHex; |
|
| 50 | 50 | } |
| 51 | 51 | } |