diff options
Diffstat (limited to 'crates/shirabe/src/command/licenses_command.rs')
| -rw-r--r-- | crates/shirabe/src/command/licenses_command.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/crates/shirabe/src/command/licenses_command.rs b/crates/shirabe/src/command/licenses_command.rs index 6dc12559..002bce89 100644 --- a/crates/shirabe/src/command/licenses_command.rs +++ b/crates/shirabe/src/command/licenses_command.rs @@ -20,13 +20,15 @@ use shirabe_external_packages::symfony::console::input::InputInterface; use shirabe_external_packages::symfony::console::output::OutputInterface; use shirabe_external_packages::symfony::console::style::StyleInterface; use shirabe_external_packages::symfony::console::style::SymfonyStyle; -use shirabe_php_shim::{PhpMixed, RuntimeException, UnexpectedValueException}; +use shirabe_php_shim::{PhpMixed, RuntimeException, UnexpectedValueException, impl_php_class}; #[derive(Debug)] pub struct LicensesCommand { base_command_data: BaseCommandData, } +impl_php_class!(LicensesCommand, r"Composer\Command\LicensesCommand"); + impl Default for LicensesCommand { fn default() -> Self { Self::new() @@ -342,10 +344,7 @@ impl Command for LicensesCommand { crate::command::base_command::base_command_complete(self, input, suggestions) } - shirabe_external_packages::delegate_command_trait_impls_to_inner!( - base_command_data, - "Composer\\Command\\LicensesCommand" - ); + shirabe_external_packages::delegate_command_trait_impls_to_inner!(base_command_data); } impl BaseCommand for LicensesCommand { |
