Code Duplication    Length = 3-3 lines in 2 locations

src/Http/Traits/FluteRoutesTrait.php 2 locations

@@ 127-129 (lines=3) @@
124
        if (in_array(ControllerCreateInterface::class, $classInterfaces) === true) {
125
            $group->post($subUri . $createSubUrl, $handler(FCI::METHOD_CREATE), $params(FCI::METHOD_CREATE));
126
        }
127
        if (in_array(ControllerReadInterface::class, $classInterfaces) === true) {
128
            $group->get($slugged, $handler(FCI::METHOD_READ), $params(FCI::METHOD_READ));
129
        }
130
        if (in_array(ControllerUpdateInterface::class, $classInterfaces) === true) {
131
            $group->post($slugged, $handler(FCI::METHOD_UPDATE), $params(FCI::METHOD_UPDATE));
132
        }
@@ 130-132 (lines=3) @@
127
        if (in_array(ControllerReadInterface::class, $classInterfaces) === true) {
128
            $group->get($slugged, $handler(FCI::METHOD_READ), $params(FCI::METHOD_READ));
129
        }
130
        if (in_array(ControllerUpdateInterface::class, $classInterfaces) === true) {
131
            $group->post($slugged, $handler(FCI::METHOD_UPDATE), $params(FCI::METHOD_UPDATE));
132
        }
133
        if (in_array(ControllerDeleteInterface::class, $classInterfaces) === true) {
134
            $deleteUri = $slugged . '/' . FCI::METHOD_DELETE;
135
            $group->post($deleteUri, $handler(FCI::METHOD_DELETE), $params(FCI::METHOD_DELETE));