File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 * @license http://www.opensource.org/licenses/mit-license.html MIT License
1212 * @author Andrew Svirin
1313 */
14- readonly final class Key
14+ final readonly class Key
1515{
1616 /**
1717 * @param mixed|string $key
1818 */
1919 public function __construct (
20- private readonly mixed $ key ,
21- private readonly int $ type
20+ private mixed $ key ,
21+ private int $ type
2222 ) {
2323 }
2424
Original file line number Diff line number Diff line change 1111 * @license http://www.opensource.org/licenses/mit-license.html MIT License
1212 * @author Andrew Svirin
1313 */
14- readonly final class KeyPair
14+ final readonly class KeyPair
1515{
1616 public function __construct (
17- private readonly Key $ publicKey ,
18- private readonly Key $ privateKey ,
19- private readonly string $ password
17+ private Key $ publicKey ,
18+ private Key $ privateKey ,
19+ private string $ password
2020 ) {
2121 }
2222
Original file line number Diff line number Diff line change 88 * @license http://www.opensource.org/licenses/mit-license.html MIT License
99 * @author Andrew Svirin
1010 */
11- readonly final class User
11+ final readonly class User
1212{
1313 /**
1414 * Constructor.
1717 * @param string $userId
1818 */
1919 public function __construct (
20- private readonly string $ partnerId ,
21- private readonly string $ userId
20+ private string $ partnerId ,
21+ private string $ userId
2222 ) {
2323 }
2424
You can’t perform that action at this time.
0 commit comments