From 0c9fc5b7f1a4ad610a1429d38550e7a80d8c82a6 Mon Sep 17 00:00:00 2001 From: Karel Faille Date: Mon, 1 Mar 2021 14:12:05 +0100 Subject: [PATCH] fix(git): incorrect user type in Mention --- src/Git/Commit/Mention.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Git/Commit/Mention.php b/src/Git/Commit/Mention.php index 3af0874..e0343ab 100644 --- a/src/Git/Commit/Mention.php +++ b/src/Git/Commit/Mention.php @@ -11,9 +11,9 @@ class Mention implements Stringable */ protected $user; - public function __construct(int $id) + public function __construct(string $user) { - $this->user = $id; + $this->user = $user; } public function getUser(): string