Skip to content

Commit 20dbf63

Browse files
[5.4] cs fixes
1 parent 0ea7ff6 commit 20dbf63

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

Command/DebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ private function completeOptions(string $class, CompletionSuggestions $suggestio
277277
if (!class_exists($class) || !is_subclass_of($class, FormTypeInterface::class)) {
278278
$classes = $this->getFqcnTypeClasses($class);
279279

280-
if (1 === count($classes)) {
280+
if (1 === \count($classes)) {
281281
$class = $classes[0];
282282
}
283283
}

DataAccessorInterface.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ public function setValue(&$viewData, $value, FormInterface $form): void;
4949
*
5050
* @param object|array $viewData The view data of the compound form
5151
* @param FormInterface $form The {@link FormInterface()} instance to check
52-
*
53-
* @return bool
5452
*/
5553
public function isReadable($viewData, FormInterface $form): bool;
5654

@@ -62,8 +60,6 @@ public function isReadable($viewData, FormInterface $form): bool;
6260
*
6361
* @param object|array $viewData The view data of the compound form
6462
* @param FormInterface $form The {@link FormInterface()} instance to check
65-
*
66-
* @return bool
6763
*/
6864
public function isWritable($viewData, FormInterface $form): bool;
6965
}

Forms.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ final class Forms
6464
{
6565
/**
6666
* Creates a form factory with the default configuration.
67-
*
68-
* @return FormFactoryInterface
6967
*/
7068
public static function createFormFactory(): FormFactoryInterface
7169
{
@@ -74,8 +72,6 @@ public static function createFormFactory(): FormFactoryInterface
7472

7573
/**
7674
* Creates a form factory builder with the default configuration.
77-
*
78-
* @return FormFactoryBuilderInterface
7975
*/
8076
public static function createFormFactoryBuilder(): FormFactoryBuilderInterface
8177
{

0 commit comments

Comments
 (0)