Skip to content

Commit a552b1b

Browse files
committed
beautify fix
1 parent 29445bf commit a552b1b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/Application/Base.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ public function globalExceptionHandler( \Throwable $throwable ): void
481481
]);
482482

483483
// Output formatted error (HTML for web, plain text for CLI)
484-
echo $this->beautifyException( $throwable );
484+
echo static::beautifyException( $throwable );
485485

486486
exit( 1 );
487487
}
@@ -494,7 +494,7 @@ public function globalExceptionHandler( \Throwable $throwable ): void
494494
* @param \Throwable $throwable
495495
* @return string
496496
*/
497-
public function beautifyException( \Throwable $throwable ): string
497+
public static function beautifyException( \Throwable $throwable ): string
498498
{
499499
$type = get_class( $throwable );
500500
$message = $throwable->getMessage();

versionlog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## 0.8.12
2+
* Added psr-11 container support.
23

34
## 0.8.11 2025-12-26
45

0 commit comments

Comments
 (0)