Code Duplication    Length = 7-7 lines in 2 locations

src/Console/Command/Publish.php 1 location

@@ 51-57 (lines=7) @@
48
            . "<info>♣♣♣</info> Docweaver DocumentationPublisher \n"
49
            . 'Help is here, try: php artisan docweaver:publish --help');
50
51
        if ($skipConfirmation || $this->confirm($confirmationMessage)) {
52
            $this->info("Publishing {$productName}.\nT: " . Carbon::now()->toCookieString() . '----------');
53
54
            $result = $this->publisher->publish($productName, $productSource, $this);
55
56
            $this->displayResult($result);
57
        }
58
    }
59
}
60

src/Console/Command/Update.php 1 location

@@ 47-53 (lines=7) @@
44
            . "<info>♣♣♣</info> Docweaver DocumentationPublisher \n"
45
            . 'Help is here, try: php artisan docweaver:update --help');
46
47
        if ($skipConfirmation || $this->confirm($confirmationMessage)) {
48
            $this->info("Updating {$productName}.\nT: " . Carbon::now()->toCookieString() . "\n----------");
49
50
            $result = $this->publisher->update($productName, $this);
51
52
            $this->displayResult($result);
53
        }
54
    }
55
}
56