Skip to content

Commit a7c0574

Browse files
committed
Fix static analysis
1 parent 2b3a1b1 commit a7c0574

File tree

6 files changed

+0
-15
lines changed

6 files changed

+0
-15
lines changed

src/Bundle/AbstractResourceBundle.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ protected function getDoctrineMappingDirectory(): string
8585

8686
/**
8787
* Return the entity namespace.
88-
*
89-
* @return string
9088
*/
9189
protected function getModelNamespace(): ?string
9290
{

src/Bundle/Form/EventSubscriber/AddCodeFormSubscriber.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ final class AddCodeFormSubscriber implements EventSubscriberInterface
2626

2727
private array $options;
2828

29-
/**
30-
* @param string $type
31-
*/
3229
public function __construct(?string $type = null, array $options = [])
3330
{
3431
$this->type = $type ?? TextType::class;

src/Component/src/Doctrine/Persistence/RepositoryInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
/**
2020
* @template T of ResourceInterface
21-
*
2221
* @extends ObjectRepository<T>
2322
*/
2423
interface RepositoryInterface extends ObjectRepository

src/Component/src/Metadata/MetadataInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ public function getPluralName(): string;
3030

3131
public function getDriver(): string|false;
3232

33-
/**
34-
* @return ?string
35-
*/
3633
public function getTemplatesNamespace(): ?string;
3734

3835
/**

src/Component/src/Model/ToggleableInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ interface ToggleableInterface
2222
*/
2323
public function isEnabled();
2424

25-
/**
26-
* @param bool $enabled
27-
*/
2825
public function setEnabled(?bool $enabled): void;
2926

3027
public function enable(): void;

src/Component/src/Model/ToggleableTrait.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ public function isEnabled(): bool
2323
return $this->enabled;
2424
}
2525

26-
/**
27-
* @param bool $enabled
28-
*/
2926
public function setEnabled(?bool $enabled): void
3027
{
3128
$this->enabled = (bool) $enabled;

0 commit comments

Comments
 (0)