Skip to content

Commit f77c189

Browse files
committed
getSelectableId -> getSelectableValue
1 parent 2660c4d commit f77c189

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Contracts/SelectableEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface SelectableEntity
99
*
1010
* @return mixed
1111
*/
12-
public function getSelectableId();
12+
public function getSelectableValue();
1313

1414
/**
1515
* Get the label to be shown in a list for selection

src/SelectableModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ trait SelectableModel
77
/**
88
* @inheritDoc
99
*/
10-
public function getSelectableId()
10+
public function getSelectableValue()
1111
{
1212
return $this->getKey();
1313
}

0 commit comments

Comments
 (0)