Skip to content

Commit 95288e0

Browse files
author
Martin Brecht-Precht
committed
Changed the method names of the ListBlockInterface
1 parent 062ce87 commit 95288e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Block/ListBlockInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ public function getListBlockType();
2121
/**
2222
* @return ListItemSequenceInterface
2323
*/
24-
public function getListItems();
24+
public function getItems();
2525

2626
/**
2727
* @param ListItemInterface $listItem
2828
* @return $this
2929
*/
30-
public function addListItem(ListItemInterface $listItem);
30+
public function addItem(ListItemInterface $listItem);
3131

3232
/**
3333
* @param ListItemInterface[] $listItems
3434
* @return $this
3535
*/
36-
public function addListItems(array $listItems);
36+
public function addItems(array $listItems);
3737

3838
}

0 commit comments

Comments
 (0)