Code Duplication    Length = 9-10 lines in 2 locations

src/Messages/HtmlDataTables.php 1 location

@@ 14-23 (lines=10) @@
11
    /**
12
     * Boot Transformer.
13
     */
14
    protected function boot()
15
    {
16
        $this->addDefaultConfig([
17
            'selector'         => 'table',
18
            'hasHeader'        => true,
19
            'useHeaderAsIndex' => true,
20
            'ignoreHeader'     => false,
21
            'orientation'      => 'vertical',
22
        ]);
23
    }
24
25
    /**
26
     * @return string

src/Transformers/DataTable.php 1 location

@@ 12-20 (lines=9) @@
9
    /**
10
     * Boot Transformer.
11
     */
12
    protected function boot()
13
    {
14
        $this->addDefaultConfig([
15
            'hasHeader'        => true,
16
            'useHeaderAsIndex' => true,
17
            'ignoreHeader'     => false,
18
            'orientation'      => 'vertical',
19
        ]);
20
    }
21
22
    /**
23
     * @param array $data