File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ public function prependHandler($handler)
101101 * Register your handler as the last of all currently registered handlers (to be executed first).
102102 * Prefer using appendHandler and prependHandler for clarity.
103103 *
104- * @param Callable |HandlerInterface $handler
104+ * @param callable |HandlerInterface $handler
105105 *
106106 * @return Run
107107 *
@@ -174,7 +174,7 @@ public function clearHandlers()
174174 public function register ()
175175 {
176176 if (empty ($ this ->getHandlers ())) {
177- if (( bool ) \Leaf \Config::get (" debug " )) {
177+ if (\ Leaf \Anchor:: toBool ( \Leaf \Config::get (' debug ' ) )) {
178178 $ this ->pushHandler (new \Leaf \Exception \Handler \PrettyPageHandler );
179179 } else {
180180 $ this ->pushHandler (new \Leaf \Exception \Handler \CustomHandler );
You can’t perform that action at this time.
0 commit comments