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

@@ 443-450 (lines=8) @@
440
     *
441
     * @return string
442
     */
443
    protected function resolveView($class)
444
    {
445
        $path = explode('\\', $class);
446
447
        $name = strtolower(array_pop($path));
448
449
        return "admin::actions.form.{$name}";
450
    }
451
452
    /**
453
     * @return void