Code Duplication    Length = 3-3 lines in 2 locations

src/Http/Traits/FluteRoutesTrait.php 2 locations

@@ 120-122 (lines=3) @@
117
        if (in_array(ControllerCreateInterface::class, $classInterfaces) === true) {
118
            $group->post($subUri . $createSubUrl, $handler(FCI::METHOD_CREATE), $params(FCI::METHOD_CREATE));
119
        }
120
        if (in_array(ControllerReadInterface::class, $classInterfaces) === true) {
121
            $group->get($slugged, $handler(FCI::METHOD_READ), $params(FCI::METHOD_READ));
122
        }
123
        if (in_array(ControllerUpdateInterface::class, $classInterfaces) === true) {
124
            $group->post($slugged, $handler(FCI::METHOD_UPDATE), $params(FCI::METHOD_UPDATE));
125
        }
@@ 123-125 (lines=3) @@
120
        if (in_array(ControllerReadInterface::class, $classInterfaces) === true) {
121
            $group->get($slugged, $handler(FCI::METHOD_READ), $params(FCI::METHOD_READ));
122
        }
123
        if (in_array(ControllerUpdateInterface::class, $classInterfaces) === true) {
124
            $group->post($slugged, $handler(FCI::METHOD_UPDATE), $params(FCI::METHOD_UPDATE));
125
        }
126
        if (in_array(ControllerDeleteInterface::class, $classInterfaces) === true) {
127
            $deleteUri = $slugged . '/' . FCI::METHOD_DELETE;
128
            $group->post($deleteUri, $handler(FCI::METHOD_DELETE), $params(FCI::METHOD_DELETE));