Skip to content

Commit 5ee8e50

Browse files
authored
Removed type suffixes (#310)
1 parent 639d9fe commit 5ee8e50

File tree

120 files changed

+581
-581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+581
-581
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
namespace MsgPhp\User\Command;
66

7-
use MsgPhp\User\UserIdInterface;
7+
use MsgPhp\User\UserId;
88

99
/**
1010
* @author Roland Franssen <[email protected]>
1111
*/
12-
class AddUserEmailCommand
12+
class AddUserEmail
1313
{
1414
/**
15-
* @var UserIdInterface
15+
* @var UserId
1616
*/
1717
public $userId;
1818

@@ -26,7 +26,7 @@ class AddUserEmailCommand
2626
*/
2727
public $context;
2828

29-
final public function __construct(UserIdInterface $userId, string $email, array $context = [])
29+
final public function __construct(UserId $userId, string $email, array $context = [])
3030
{
3131
$this->userId = $userId;
3232
$this->email = $email;
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
namespace MsgPhp\User\Command;
66

7-
use MsgPhp\User\UserIdInterface;
7+
use MsgPhp\User\UserId;
88

99
/**
1010
* @author Roland Franssen <[email protected]>
1111
*/
12-
class AddUserRoleCommand
12+
class AddUserRole
1313
{
1414
/**
15-
* @var UserIdInterface
15+
* @var UserId
1616
*/
1717
public $userId;
1818

@@ -26,7 +26,7 @@ class AddUserRoleCommand
2626
*/
2727
public $context;
2828

29-
final public function __construct(UserIdInterface $userId, string $roleName, array $context = [])
29+
final public function __construct(UserId $userId, string $roleName, array $context = [])
3030
{
3131
$this->userId = $userId;
3232
$this->roleName = $roleName;
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
namespace MsgPhp\User\Command;
66

7-
use MsgPhp\User\UserIdInterface;
7+
use MsgPhp\User\UserId;
88

99
/**
1010
* @author Roland Franssen <[email protected]>
1111
*/
12-
class ChangeUserCredentialCommand
12+
class ChangeUserCredential
1313
{
1414
/**
15-
* @var UserIdInterface
15+
* @var UserId
1616
*/
1717
public $userId;
1818

@@ -21,7 +21,7 @@ class ChangeUserCredentialCommand
2121
*/
2222
public $fields;
2323

24-
final public function __construct(UserIdInterface $userId, array $fields)
24+
final public function __construct(UserId $userId, array $fields)
2525
{
2626
$this->userId = $userId;
2727
$this->fields = $fields;
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44

55
namespace MsgPhp\User\Command;
66

7-
use MsgPhp\User\UserIdInterface;
7+
use MsgPhp\User\UserId;
88

99
/**
1010
* @author Roland Franssen <[email protected]>
1111
*/
12-
class DeleteUserCommand
12+
class ConfirmUser
1313
{
1414
/**
15-
* @var UserIdInterface
15+
* @var UserId
1616
*/
1717
public $userId;
1818

19-
final public function __construct(UserIdInterface $userId)
19+
final public function __construct(UserId $userId)
2020
{
2121
$this->userId = $userId;
2222
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* @author Roland Franssen <[email protected]>
99
*/
10-
class DeleteUserEmailCommand
10+
class ConfirmUserEmail
1111
{
1212
/**
1313
* @var string
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* @author Roland Franssen <[email protected]>
99
*/
10-
class CreateUserCommand
10+
class CreateRole
1111
{
1212
/**
1313
* @var array
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* @author Roland Franssen <[email protected]>
99
*/
10-
class CreateRoleCommand
10+
class CreateUser
1111
{
1212
/**
1313
* @var array
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* @author Roland Franssen <[email protected]>
99
*/
10-
class DeleteRoleCommand
10+
class DeleteRole
1111
{
1212
/**
1313
* @var string
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44

55
namespace MsgPhp\User\Command;
66

7-
use MsgPhp\User\UserIdInterface;
7+
use MsgPhp\User\UserId;
88

99
/**
1010
* @author Roland Franssen <[email protected]>
1111
*/
12-
class EnableUserCommand
12+
class DeleteUser
1313
{
1414
/**
15-
* @var UserIdInterface
15+
* @var UserId
1616
*/
1717
public $userId;
1818

19-
final public function __construct(UserIdInterface $userId)
19+
final public function __construct(UserId $userId)
2020
{
2121
$this->userId = $userId;
2222
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* @author Roland Franssen <[email protected]>
99
*/
10-
class ConfirmUserEmailCommand
10+
class DeleteUserEmail
1111
{
1212
/**
1313
* @var string

0 commit comments

Comments
 (0)