Skip to content

Commit

Permalink
fix(git): incorrect user type in Mention
Browse files Browse the repository at this point in the history
  • Loading branch information
shaffe-fr authored and marcocesarato committed Mar 2, 2021
1 parent 0bed887 commit 0c9fc5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Git/Commit/Mention.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c9fc5b

Please sign in to comment.