File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments