From: Raphaƫl Gertz Date: Thu, 7 Mar 2024 17:51:57 +0000 (+0100) Subject: Cleanup X-Git-Tag: 0.4.0~7 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/177b09c72785e869d93602ac47524a31dd64a94b Cleanup --- diff --git a/Command.php b/Command.php index 0832e2e..51fbb30 100644 --- a/Command.php +++ b/Command.php @@ -44,9 +44,9 @@ class Command extends BaseCommand { } /** - * Return the command name - * * {@inheritdoc} + * + * Return the command name */ public function getName(): string { //With namespace diff --git a/Command/RangeCommand.php b/Command/RangeCommand.php index f720493..65b4fe4 100644 --- a/Command/RangeCommand.php +++ b/Command/RangeCommand.php @@ -18,9 +18,9 @@ use Symfony\Component\Console\Output\OutputInterface; use Rapsys\PackBundle\Command; /** - * Shuffle printable character range - * * {@inheritdoc} + * + * Shuffle printable character range */ class RangeCommand extends Command { /** @@ -49,9 +49,9 @@ class RangeCommand extends Command { } /** - * Output a shuffled printable characters range - * * {@inheritdoc} + * + * Output a shuffled printable characters range */ protected function execute(InputInterface $input, OutputInterface $output): int { //Printable character range diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 5764724..95326bc 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -19,11 +19,11 @@ use Symfony\Component\Process\ExecutableFinder; use Rapsys\PackBundle\RapsysPackBundle; /** + * {@inheritdoc} + * * This is the class that validates and merges configuration from your app/config files. * * @link http://symfony.com/doc/current/cookbook/bundles/configuration.html - * - * {@inheritdoc} */ class Configuration implements ConfigurationInterface { /** diff --git a/Extension/PackExtension.php b/Extension/PackExtension.php index 97e3467..1234de5 100644 --- a/Extension/PackExtension.php +++ b/Extension/PackExtension.php @@ -26,9 +26,9 @@ use Rapsys\PackBundle\Util\SluggerUtil; */ class PackExtension extends AbstractExtension { /** - * @link https://twig.symfony.com/doc/2.x/advanced.html - * * {@inheritdoc} + * + * @link https://twig.symfony.com/doc/2.x/advanced.html */ public function __construct(protected IntlUtil $intl, protected FileLocator $locator, protected PackageInterface $package, protected SluggerUtil $slugger, protected array $parameters) { } diff --git a/Form/CaptchaType.php b/Form/CaptchaType.php index c0d5ae1..2ff22ba 100644 --- a/Form/CaptchaType.php +++ b/Form/CaptchaType.php @@ -40,9 +40,9 @@ class CaptchaType extends AbstractType { } /** - * Build form - * * {@inheritdoc} + * + * Build form */ public function buildForm(FormBuilderInterface $builder, array $options): void { //Set captcha diff --git a/Package/PathPackage.php b/Package/PathPackage.php index c202b19..22ed5ad 100644 --- a/Package/PathPackage.php +++ b/Package/PathPackage.php @@ -57,6 +57,8 @@ class PathPackage extends Package { } /** + * {@inheritdoc} + * * Returns an absolute or root-relative public path * * Transform @BundleBundle to bundle and remove /Resources/public fragment from path @@ -65,8 +67,6 @@ class PathPackage extends Package { * @link https://symfony.com/doc/current/bundles.html#overridding-the-bundle-directory-structure * @see vendor/symfony/framework-bundle/Command/AssetsInstallCommand.php +113 * @see vendor/symfony/framework-bundle/Command/AssetsInstallCommand.php +141 - * - * {@inheritdoc} */ public function getUrl(string $path): string { //Match url starting with a bundle name