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

@@ 396-403 (lines=8) @@
393
     *
394
     * @return string
395
     */
396
    protected function resolveView($class)
397
    {
398
        $path = explode('\\', $class);
399
400
        $name = strtolower(array_pop($path));
401
402
        return "admin::actions.form.{$name}";
403
    }
404
405
    /**
406
     * @return void