Skip to content

Commit 0ff7760

Browse files
committed
refactor(VendorPublishCommand): make VendorPublishCommand class final
- Change the VendorPublishCommand class to be final - Improve code maintainability and prevent subclassing
1 parent 99449c1 commit 0ff7760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Commands/VendorPublishCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
namespace App\Commands;
1414

15-
class VendorPublishCommand extends \Illuminate\Foundation\Console\VendorPublishCommand
15+
final class VendorPublishCommand extends \Illuminate\Foundation\Console\VendorPublishCommand
1616
{
1717
/**
1818
* @psalm-suppress UndefinedInterfaceMethod

0 commit comments

Comments
 (0)