@@ -10,14 +10,12 @@ |
||
10 | 10 | * @class BaseEntity |
11 | 11 | * @package Quantum\Hub\Entity |
12 | 12 | */ |
13 | -class BaseEntity |
|
14 | -{ |
|
13 | +class BaseEntity { |
|
15 | 14 | /** |
16 | 15 | * Create new instance |
17 | 16 | * @param array<string, mixed> $data |
18 | 17 | */ |
19 | - public function __construct(array $data = []) |
|
20 | - { |
|
18 | + public function __construct(array $data = []) { |
|
21 | 19 | $this->hydrate($data); |
22 | 20 | } |
23 | 21 |
@@ -8,8 +8,7 @@ |
||
8 | 8 | * @class Commit |
9 | 9 | * @package Quantum\Hub\Entity |
10 | 10 | */ |
11 | -class Commit extends BaseEntity |
|
12 | -{ |
|
11 | +class Commit extends BaseEntity { |
|
13 | 12 | /** |
14 | 13 | * The id of the commit |
15 | 14 | * @var string |
@@ -8,8 +8,7 @@ |
||
8 | 8 | * @class Repository |
9 | 9 | * @package Quantum\Hub\Entity |
10 | 10 | */ |
11 | -class Repository extends BaseEntity |
|
12 | -{ |
|
11 | +class Repository extends BaseEntity { |
|
13 | 12 | /** |
14 | 13 | * The name |
15 | 14 | * @var string |
@@ -8,8 +8,7 @@ |
||
8 | 8 | * @class Sender |
9 | 9 | * @package Quantum\Hub\Entity |
10 | 10 | */ |
11 | -class Sender extends BaseEntity |
|
12 | -{ |
|
11 | +class Sender extends BaseEntity { |
|
13 | 12 | /** |
14 | 13 | * The name of the user who do the push |
15 | 14 | * @var string |
@@ -19,8 +19,7 @@ |
||
19 | 19 | * @package Quantum\Hub |
20 | 20 | * @template T |
21 | 21 | */ |
22 | -class WebHook |
|
23 | -{ |
|
22 | +class WebHook { |
|
24 | 23 | /** |
25 | 24 | * The request instance to use |
26 | 25 | * @var ServerRequestInterface |