@@ -63,6 +63,9 @@ discard block |
||
| 63 | 63 | /** @var string */ |
| 64 | 64 | private $groupBy; |
| 65 | 65 | |
| 66 | + /** |
|
| 67 | + * @param string $applicationPath |
|
| 68 | + */ |
|
| 66 | 69 | public static function createForThrowable(Throwable $throwable, ContextInterface $context, ?string $applicationPath = null): self |
| 67 | 70 | { |
| 68 | 71 | return (new static()) |
@@ -85,6 +88,9 @@ discard block |
||
| 85 | 88 | return get_class($throwable); |
| 86 | 89 | } |
| 87 | 90 | |
| 91 | + /** |
|
| 92 | + * @param string $applicationPath |
|
| 93 | + */ |
|
| 88 | 94 | public static function createForMessage(string $message, string $logLevel, ContextInterface $context, ?string $applicationPath = null): self |
| 89 | 95 | { |
| 90 | 96 | $stacktrace = Stacktrace::create($applicationPath); |
@@ -174,6 +180,9 @@ discard block |
||
| 174 | 180 | return $this; |
| 175 | 181 | } |
| 176 | 182 | |
| 183 | + /** |
|
| 184 | + * @param integer|null $index |
|
| 185 | + */ |
|
| 177 | 186 | public function openFrameIndex(?int $index) |
| 178 | 187 | { |
| 179 | 188 | $this->openFrameIndex = $index; |
@@ -10,8 +10,8 @@ |
||
| 10 | 10 | use Facade\FlareClient\Glows\Glow; |
| 11 | 11 | use Facade\FlareClient\Solutions\ReportSolution; |
| 12 | 12 | use Facade\FlareClient\Stacktrace\Stacktrace; |
| 13 | -use Facade\Ignition\Exceptions\ViewException; |
|
| 14 | 13 | use Facade\IgnitionContracts\Solution; |
| 14 | +use Facade\Ignition\Exceptions\ViewException; |
|
| 15 | 15 | use Throwable; |
| 16 | 16 | |
| 17 | 17 | class Report |