Code Duplication    Length = 7-7 lines in 2 locations

src/Console/Commands/PublishDeleteAssignment.php 1 location

@@ 68-74 (lines=7) @@
65
     * Execute the console command.
66
     *
67
     */
68
    public function handle()
69
    {
70
        $this->abortCommandExecution();
71
        $this->assignment = $this->argument('assignment') ? $this->argument('assignment') : $this->askAssignment();
72
73
        $this->delete_assignment();
74
    }
75
76
    /**
77
     * Delete assignment.

src/Console/Commands/PublishShowAssignment.php 1 location

@@ 67-73 (lines=7) @@
64
     * Execute the console command.
65
     *
66
     */
67
    public function handle()
68
    {
69
        $this->abortCommandExecution();
70
        $this->assignment = $this->argument('assignment') ? $this->argument('assignment') : $this->askAssignment();
71
72
        $this->show_assignment();
73
    }
74
75
    /**
76
     * Show assignment.