Code Duplication    Length = 8-8 lines in 2 locations

src/Grid/Tools/QuickCreate.php 1 location

@@ 223-230 (lines=8) @@
220
     *
221
     * @return string
222
     */
223
    protected function resolveView($class)
224
    {
225
        $path = explode('\\', $class);
226
227
        $name = strtolower(array_pop($path));
228
229
        return "admin::grid.quick-create.{$name}";
230
    }
231
232
    protected function script()
233
    {

src/Actions/Interactor/Form.php 1 location

@@ 468-475 (lines=8) @@
465
     *
466
     * @return string
467
     */
468
    protected function resolveView($class)
469
    {
470
        $path = explode('\\', $class);
471
472
        $name = strtolower(array_pop($path));
473
474
        return "admin::actions.form.{$name}";
475
    }
476
477
    /**
478
     * @return void