Code Duplication    Length = 5-5 lines in 2 locations

src/system/RoutesModule/Entity/Historical/v110/Base/AbstractRouteEntity.php 1 location

@@ 1022-1026 (lines=5) @@
1019
            }
1020
        }
1021
1022
        if (!is_object($this['__WORKFLOW__']) && !isset($this['__WORKFLOW__']['schemaname'])) {
1023
            $workflow = $this['__WORKFLOW__'];
1024
            $workflow['schemaname'] = $schemaName;
1025
            $this['__WORKFLOW__'] = $workflow;
1026
        }
1027
    }
1028
1029
    /**

src/system/RoutesModule/Traits/EntityWorkflowTrait.php 1 location

@@ 108-112 (lines=5) @@
105
            }
106
        }
107
        
108
        if (!is_object($this['__WORKFLOW__']) && !isset($this['__WORKFLOW__']['schemaname'])) {
109
            $workflow = $this['__WORKFLOW__'];
110
            $workflow['schemaname'] = $schemaName;
111
            $this['__WORKFLOW__'] = $workflow;
112
        }
113
    }
114
    
115
    /**