@@ -4,8 +4,8 @@ discard block |
||
4 | 4 | |
5 | 5 | namespace DesignPattern\More\EntityAttributeValue; |
6 | 6 | |
7 | -class Value |
|
8 | -{ |
|
7 | +class Value |
|
8 | +{ |
|
9 | 9 | /** |
10 | 10 | * @var \DesignPattern\More\EntityAttributeValue\Attribute |
11 | 11 | */ |
@@ -22,8 +22,8 @@ discard block |
||
22 | 22 | * @param \DesignPattern\More\EntityAttributeValue\Attribute $attribute |
23 | 23 | * @param string $name |
24 | 24 | */ |
25 | - public function __construct(Attribute $attribute, string $name) |
|
26 | - { |
|
25 | + public function __construct(Attribute $attribute, string $name) |
|
26 | + { |
|
27 | 27 | $this->attribute = $attribute; |
28 | 28 | $this->name = $name; |
29 | 29 | |
@@ -33,8 +33,8 @@ discard block |
||
33 | 33 | /** |
34 | 34 | * @return string |
35 | 35 | */ |
36 | - public function __toString() |
|
37 | - { |
|
36 | + public function __toString() |
|
37 | + { |
|
38 | 38 | return sprintf('%s: %s', $this->attribute, $this->name); |
39 | 39 | } |
40 | 40 | } |
@@ -4,8 +4,8 @@ discard block |
||
4 | 4 | |
5 | 5 | namespace DesignPattern\More\Delegation; |
6 | 6 | |
7 | -class Controller |
|
8 | -{ |
|
7 | +class Controller |
|
8 | +{ |
|
9 | 9 | /** |
10 | 10 | * @var \DesignPattern\More\Delegation\Component |
11 | 11 | */ |
@@ -16,8 +16,8 @@ discard block |
||
16 | 16 | * |
17 | 17 | * @param \DesignPattern\More\Delegation\Component $component |
18 | 18 | */ |
19 | - public function __construct(Component $component) |
|
20 | - { |
|
19 | + public function __construct(Component $component) |
|
20 | + { |
|
21 | 21 | $this->component = $component; |
22 | 22 | } |
23 | 23 |