Skip to content

Commit

Permalink
Fix notification format url (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
babeuloula authored Dec 14, 2022
1 parent a6e14a6 commit b43bff8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Dto/Notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ private function formatUrl(NotificationType $type, string $url): string
['https://github.com/', '/pull/'],
$url
),
default => throw new \InvalidArgumentException(
'Unexpected match value for Notification Type:' . $type->value
),
default => $url,
};
}
}

0 comments on commit b43bff8

Please sign in to comment.