Skip to content

Commit f26abc3

Browse files
Remove arrayable parameter in fieldAttributes() method in InputInterface::class. (#6)
1 parent 083afd5 commit f26abc3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Enh #3: Implement interface `RenderInterface::class` (@terabytesoftw)
66
- Enh #4: Add interface `ContentInterface::class` and `LabelInterface::class` (@terabytesoftw)
77
- Enh #5: Rename `generateField()` to `fieldAttributes()` method in `InputInterface::class` (@terabytesoftw)
8+
- Bug #6: Remove arrayable parameter in `fieldAttributes()` method in `InputInterface::class` (@terabytesoftw)
89

910
## 0.1.0 February 27, 2024
1011

src/InputInterface.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,14 @@ public function attributes(array $values): static;
3131
public function class(string $value, bool $override = false): static;
3232

3333
/**
34-
* Generate the id and name attributes for the field.
34+
* Generate the id and name attributes for the input field.
3535
*
36-
* @param string $formModel The name of the model.
37-
* @param string $property The name of the property.
38-
* @param bool $arrayable Whether the field is arrayable.
36+
* @param string $formModel The form model name.
37+
* @param string $property The property name.
3938
*
4039
* @return static A new instance or clone of the current object with the id and name attributes set.
4140
*/
42-
public function fieldAttributes(string $formModel, string $property, bool $arrayable = false): static;
41+
public function fieldAttributes(string $formModel, string $property): static;
4342

4443
/**
4544
* Set the ID of the widget.

0 commit comments

Comments
 (0)