@@ -75,7 +75,7 @@ public function secondary(?string $secondary): LDUserBuilder
7575 */
7676 public function privateSecondary (?string $ secondary ): LDUserBuilder
7777 {
78- array_push ( $ this ->_privateAttributeNames , 'secondary ' ) ;
78+ $ this ->_privateAttributeNames [] = 'secondary ' ;
7979 return $ this ->secondary ($ secondary );
8080 }
8181
@@ -97,7 +97,7 @@ public function ip(?string $ip): LDUserBuilder
9797 */
9898 public function privateIp (?string $ ip ): LDUserBuilder
9999 {
100- array_push ( $ this ->_privateAttributeNames , 'ip ' ) ;
100+ $ this ->_privateAttributeNames [] = 'ip ' ;
101101 return $ this ->ip ($ ip );
102102 }
103103
@@ -123,7 +123,7 @@ public function country(?string $country): LDUserBuilder
123123 */
124124 public function privateCountry (?string $ country ): LDUserBuilder
125125 {
126- array_push ( $ this ->_privateAttributeNames , 'country ' ) ;
126+ $ this ->_privateAttributeNames [] = 'country ' ;
127127 return $ this ->country ($ country );
128128 }
129129
@@ -145,7 +145,7 @@ public function email(?string $email): LDUserBuilder
145145 */
146146 public function privateEmail (?string $ email ): LDUserBuilder
147147 {
148- array_push ( $ this ->_privateAttributeNames , 'email ' ) ;
148+ $ this ->_privateAttributeNames [] = 'email ' ;
149149 return $ this ->email ($ email );
150150 }
151151
@@ -167,7 +167,7 @@ public function name(?string $name): LDUserBuilder
167167 */
168168 public function privateName (?string $ name ): LDUserBuilder
169169 {
170- array_push ( $ this ->_privateAttributeNames , 'name ' ) ;
170+ $ this ->_privateAttributeNames [] = 'name ' ;
171171 return $ this ->name ($ name );
172172 }
173173
@@ -189,7 +189,7 @@ public function avatar(?string $avatar)
189189 */
190190 public function privateAvatar (?string $ avatar ): LDUserBuilder
191191 {
192- array_push ( $ this ->_privateAttributeNames , 'avatar ' ) ;
192+ $ this ->_privateAttributeNames [] = 'avatar ' ;
193193 return $ this ->avatar ($ avatar );
194194 }
195195
@@ -211,7 +211,7 @@ public function firstName(?string $firstName): LDUserBuilder
211211 */
212212 public function privateFirstName (?string $ firstName ): LDUserBuilder
213213 {
214- array_push ( $ this ->_privateAttributeNames , 'firstName ' ) ;
214+ $ this ->_privateAttributeNames [] = 'firstName ' ;
215215 return $ this ->firstName ($ firstName );
216216 }
217217
@@ -233,7 +233,7 @@ public function lastName(?string $lastName): LDUserBuilder
233233 */
234234 public function privateLastName (?string $ lastName ): LDUserBuilder
235235 {
236- array_push ( $ this ->_privateAttributeNames , 'lastName ' ) ;
236+ $ this ->_privateAttributeNames [] = 'lastName ' ;
237237 return $ this ->lastName ($ lastName );
238238 }
239239
@@ -284,7 +284,7 @@ public function customAttribute(string $customKey, $customValue): LDUserBuilder
284284 */
285285 public function privateCustomAttribute (string $ customKey , $ customValue ): LDUserBuilder
286286 {
287- array_push ( $ this ->_privateAttributeNames , $ customKey) ;
287+ $ this ->_privateAttributeNames [] = $ customKey ;
288288 return $ this ->customAttribute ($ customKey , $ customValue );
289289 }
290290
0 commit comments