Skip to content

Commit 4d78f70

Browse files
committed
feat: add support for origin
1 parent d49ea5f commit 4d78f70

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/Crash/Hub.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ public function __construct()
3939
*
4040
* @param array<string, mixed> $meta
4141
*/
42-
public function leaveCrumb(string $message, string $type = Breadcrumbs::TYPE_ACTION, array $meta = []): self
42+
public function leaveCrumb(string $message, string $type = Breadcrumbs::TYPE_ACTION, array $meta = [], bool $withOrigin = true): self
4343
{
44-
$this->breadcrumbs->add($message, $type, $meta);
44+
$this->breadcrumbs->add($message, $type, $meta, $withOrigin);
4545

4646
return $this;
4747
}

0 commit comments

Comments
 (0)