Code Duplication    Length = 3-3 lines in 2 locations

src/Notifications/Logs/RouteRequested.php 2 locations

@@ 68-70 (lines=3) @@
65
    public function toMail($notifiable)
66
    {
67
        $content = 'A route on ' . url('/') . ' was requested.';
68
        if($notifiable->filter !== '*' && !is_numeric($notifiable->filter)) {
69
            $content .= " You're being notified because the route contains `" . $notifiable->filter . "`";
70
        }
71
72
        if(is_numeric($notifiable->filter)) {
73
            $content .= " You're being notified because the execution time exceeded your limit of " . $notifiable->filter . "ms.";
@@ 96-98 (lines=3) @@
93
    public function toSlack($notifiable)
94
    {
95
        $content = 'A route on ' . url('/') . ' was requested.';
96
        if($notifiable->filter !== '*' && !is_numeric($notifiable->filter)) {
97
            $content .= " You're being notified because the route contains `" . $notifiable->filter . "`";
98
        }
99
100
        if(is_numeric($notifiable->filter)) {
101
            $content .= " You're being notified because the execution time exceeded your limit of " . $notifiable->filter . "ms.";