We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f18dfe commit ab714f9Copy full SHA for ab714f9
src/ErrorHandler.php
@@ -10,9 +10,6 @@ trait ErrorHandler
10
11
/**
12
* Call function if roteted catch any Exception.
13
- *
14
- * @param callable $callable
15
- * @return self
16
*/
17
public function catch(callable $callable): self
18
{
@@ -21,7 +18,7 @@ public function catch(callable $callable): self
21
return $this;
22
19
}
23
20
24
- public function exception(Throwable $exception): self
+ protected function exception(Throwable $exception): self
25
26
if ($this->catchCallable) {
27
call_user_func($this->catchCallable, $exception);
0 commit comments