Skip to content

Commit 10ac87f

Browse files
committed
change methods to be public instead of protected
1 parent 9a0d2dd commit 10ac87f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Concerns/HasFeatures.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function getFeatures(): array
9898
*
9999
* @return string
100100
*/
101-
protected function getFeatureIdentityId(): string
101+
public function getFeatureIdentityId(): string
102102
{
103103
$key = config('flagsmith.identity.identifier');
104104
return (string) $this->{$key};
@@ -109,7 +109,7 @@ protected function getFeatureIdentityId(): string
109109
*
110110
* @return array
111111
*/
112-
protected function getFeatureTraits(): array
112+
public function getFeatureTraits(): array
113113
{
114114
return array_reduce(
115115
config('flagsmith.identity.traits'),
@@ -126,7 +126,7 @@ function ($carry, $attribute) {
126126
*
127127
* @return Identity
128128
*/
129-
protected function getFeatureIdentity(): Identity
129+
public function getFeatureIdentity(): Identity
130130
{
131131
$identity = new Identity($this->getFeatureIdentityId());
132132
foreach ($this->getFeatureTraits() as $key => $value) {

0 commit comments

Comments
 (0)