Code Duplication    Length = 3-3 lines in 2 locations

src/MailServiceProvider.php 2 locations

@@ 39-41 (lines=3) @@
36
            // on each one, which makes the developer's life a lot more convenient.
37
            $from = $app['config']['mail.from'];
38
39
            if (is_array($from) && isset($from['address'])) {
40
                $mailer->alwaysFrom($from['address'], $from['name']);
41
            }
42
43
            $to = $app['config']['mail.to'];
44
@@ 45-47 (lines=3) @@
42
43
            $to = $app['config']['mail.to'];
44
45
            if (is_array($to) && isset($to['address'])) {
46
                $mailer->alwaysTo($to['address'], $to['name']);
47
            }
48
49
            return $mailer;
50
        });