Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function __construct(StringLiteral $userId, $command) |
||
24 | { |
||
25 | parent::__construct('User with id: ' . $userId->toNative() . |
||
26 | ' failed to execute command: ' . get_class($command) . |
||
27 | ' because it is not authorizable.'); |
||
28 | |||
29 | $this->userId = $userId; |
||
30 | $this->command = $command; |
||
31 | } |
||
32 | |||
49 |