File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ class AddUserCommand extends RolloutCommand
28
28
public function handle ()
29
29
{
30
30
$ name = $ this ->argument ('feature ' );
31
- $ id = $ this ->argument ('user ' );
31
+ $ userIdentifier = $ this ->argument ('user ' );
32
32
33
- $ feature = $ this ->rollout ->activateUser ($ name , new User ($ id ));
33
+ $ this ->rollout ->activateUser ($ name , new User ($ userIdentifier ));
34
34
}
35
35
}
Original file line number Diff line number Diff line change @@ -11,17 +11,17 @@ class User implements Contract
11
11
*
12
12
* @var string
13
13
*/
14
- protected $ id ;
14
+ protected $ userIdentifier ;
15
15
16
16
/**
17
17
* Constructs our user helper with an id.
18
18
*
19
- * @param string $id
19
+ * @param string $userIdentifier
20
20
* The id of the user.
21
21
*/
22
- public function __construct (string $ id )
22
+ public function __construct (string $ userIdentifier )
23
23
{
24
- $ this ->id = $ id ;
24
+ $ this ->userIdentifier = $ userIdentifier ;
25
25
}
26
26
27
27
/**
@@ -32,6 +32,6 @@ public function __construct(string $id)
32
32
*/
33
33
public function getRolloutIdentifier ()
34
34
{
35
- return $ this ->id ;
35
+ return $ this ->userIdentifier ;
36
36
}
37
37
}
You can’t perform that action at this time.
0 commit comments