Code Duplication    Length = 6-6 lines in 2 locations

src/Admin/Traits/Actions.php 1 location

@@ 29-34 (lines=6) @@
26
            if (isset($blast[$class][$mapperClass])) {
27
                $config = $blast[$class][$mapperClass];
28
29
                if (isset($blast['all'][$mapperClass])) {
30
                    $config = array_merge_recursive(
31
                    $config,
32
                    $blast['all'][$mapperClass]
33
                );
34
                }
35
36
                if (isset($config['add'][$actionKey])) {
37
                    $listFields = $this->getListFieldDescriptions();

src/Admin/Traits/Mapper.php 1 location

@@ 569-574 (lines=6) @@
566
            if (isset($blast[$class][$mapperClass])) {
567
                $config = $blast[$class][$mapperClass];
568
569
                if (isset($blast['all'][$mapperClass])) {
570
                    $config = array_merge_recursive(
571
                        $config,
572
                        $blast['all'][$mapperClass]
573
                    );
574
                }
575
576
                // remove / reset
577
                if (isset($config['remove'][$actionKey])) {