Skip to content

Commit b6c0767

Browse files
committed
cleanup
1 parent 3698cc0 commit b6c0767

File tree

4 files changed

+1
-13
lines changed

4 files changed

+1
-13
lines changed

src/bundle/Resources/views/themes/standard/design_system/components/checkbox/field.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111

1212
{% block label %}
1313
{{ label_content }}
14-
{% endblock label %}
14+
{% endblock label %}

src/lib/Twig/Components/AbstractChoiceInput.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,6 @@ public function validate(array $props): array
7979
return $resolver->resolve($props) + $props;
8080
}
8181

82-
// #[ExposeInTemplate('value')]
83-
// public function getValue(): ?string
84-
// {
85-
// dump(self::value);
86-
// return $this->value;
87-
// }
88-
8982
abstract protected function configurePropsResolver(OptionsResolver $resolver): void;
9083

9184
abstract public function getType(): string;

src/lib/Twig/Components/LabelledChoiceInputTrait.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,4 @@ public function getInput(): array
6060
'value' => $this->value,
6161
];
6262
}
63-
64-
// abstract protected function getValue(): ?string;
6563
}

src/lib/Twig/Components/ListFieldTrait.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* @phpstan-type ListItem array{
1616
* value: string|int,
1717
* label: string,
18-
* disabled?: bool
1918
* }
2019
*/
2120
trait ListFieldTrait
@@ -53,6 +52,4 @@ protected function validateListFieldProps(OptionsResolver $resolver): void
5352
->allowedValues('vertical', 'horizontal')
5453
->default('vertical');
5554
}
56-
57-
5855
}

0 commit comments

Comments
 (0)