Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/LaunchDarkly/LDUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class LDUser {
* @param boolean|null $anonymous Whether this is an anonymous user
* @param array|null $custom Other custom attributes that can be used to create custom rules
*/
public function __construct($key, $secondary = null, $ip = null, $country = null, $email = null, $name = null, $avatar = null, $firstName = null, $lastName= null, $anonymous = false, $custom = []) {
public function __construct($key, $secondary = null, $ip = null, $country = null, $email = null, $name = null, $avatar = null, $firstName = null, $lastName= null, $anonymous = null, $custom = []) {
$this->_key = $key;
$this->_secondary = $secondary;
$this->_ip = $ip;
Expand Down
2 changes: 1 addition & 1 deletion src/LaunchDarkly/LDUserBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class LDUserBuilder {
protected $_avatar = null;
protected $_firstName = null;
protected $_lastName = null;
protected $_anonymous = false;
protected $_anonymous = null;
protected $_custom = [];

public function __construct($key) {
Expand Down