Code Duplication    Length = 8-8 lines in 3 locations

app/Http/Supports/HttpErrors.php 3 locations

@@ 8-15 (lines=8) @@
5
trait HttpErrors
6
{
7
8
    public function error404()
9
    {
10
        $this->redirect()->responseCode('404');
11
12
        return $this->twig('errors/404.html.twig', [
13
            'title'  => '404 Page Not Found :: ' . $this->data('title'),
14
        ]);
15
    }
16
17
    public function error503()
18
    {
@@ 17-24 (lines=8) @@
14
        ]);
15
    }
16
17
    public function error503()
18
    {
19
        $this->redirect()->responseCode('503');
20
21
        return $this->twig('errors/503.html.twig', [
22
            'title'  => '503 Service Unavailable :: ' . $this->data('title'),
23
        ]);
24
    }
25
26
    public function error500()
27
    {
@@ 26-33 (lines=8) @@
23
        ]);
24
    }
25
26
    public function error500()
27
    {
28
        $this->redirect()->responseCode('503');
29
30
        return $this->twig('errors/503.html.twig', [
31
            'title'  => '503 Service Unavailable :: ' . $this->data('title'),
32
        ]);
33
    }
34
35
    /**
36
     * @param null $target