@@ -19,8 +19,9 @@ class RegisterTest extends \PHPUnit\Framework\TestCase
19
19
/**
20
20
* @magentoAppIsolation enabled
21
21
* @magentoDbIsolation enabled
22
+ * @return void
22
23
*/
23
- public function testCompanyDefault ()
24
+ public function testCompanyDefault (): void
24
25
{
25
26
/** @var \Magento\Customer\Block\Widget\Company $block */
26
27
$ block = Bootstrap::getObjectManager ()->create (Register::class)
@@ -34,8 +35,9 @@ public function testCompanyDefault()
34
35
/**
35
36
* @magentoAppIsolation enabled
36
37
* @magentoDbIsolation enabled
38
+ * @return void
37
39
*/
38
- public function testTelephoneDefault ()
40
+ public function testTelephoneDefault (): void
39
41
{
40
42
/** @var \Magento\Customer\Block\Widget\Company $block */
41
43
$ block = Bootstrap::getObjectManager ()->create (
@@ -50,8 +52,9 @@ public function testTelephoneDefault()
50
52
/**
51
53
* @magentoAppIsolation enabled
52
54
* @magentoDbIsolation enabled
55
+ * @return void
53
56
*/
54
- public function testFaxDefault ()
57
+ public function testFaxDefault (): void
55
58
{
56
59
/** @var \Magento\Customer\Block\Widget\Company $block */
57
60
$ block = Bootstrap::getObjectManager ()->create (
@@ -66,8 +69,9 @@ public function testFaxDefault()
66
69
/**
67
70
* @magentoAppIsolation enabled
68
71
* @magentoDbIsolation enabled
72
+ * @return void
69
73
*/
70
- public function testCompanyDisabled ()
74
+ public function testCompanyDisabled (): void
71
75
{
72
76
/** @var \Magento\Customer\Model\Attribute $model */
73
77
$ model = Bootstrap::getObjectManager ()->create (
@@ -89,8 +93,9 @@ public function testCompanyDisabled()
89
93
/**
90
94
* @magentoAppIsolation enabled
91
95
* @magentoDbIsolation enabled
96
+ * @return void
92
97
*/
93
- public function testTelephoneDisabled ()
98
+ public function testTelephoneDisabled (): void
94
99
{
95
100
/** @var \Magento\Customer\Model\Attribute $model */
96
101
$ model = Bootstrap::getObjectManager ()->create (
@@ -112,8 +117,9 @@ public function testTelephoneDisabled()
112
117
/**
113
118
* @magentoAppIsolation enabled
114
119
* @magentoDbIsolation enabled
120
+ * @return void
115
121
*/
116
- public function testFaxEnabled ()
122
+ public function testFaxEnabled (): void
117
123
{
118
124
/** @var \Magento\Customer\Model\Attribute $model */
119
125
$ model = Bootstrap::getObjectManager ()->create (
@@ -132,6 +138,9 @@ public function testFaxEnabled()
132
138
$ this ->assertContains ('title="Fax" ' , $ block ->toHtml ());
133
139
}
134
140
141
+ /**
142
+ * @inheritdoc
143
+ */
135
144
protected function tearDown ()
136
145
{
137
146
/** @var \Magento\Eav\Model\Config $eavConfig */
@@ -145,7 +154,7 @@ protected function tearDown()
145
154
* @param Template $block
146
155
* @return void
147
156
*/
148
- private function setAttributeDataProvider (Template $ block )
157
+ private function setAttributeDataProvider (Template $ block ): void
149
158
{
150
159
$ attributeData = Bootstrap::getObjectManager ()->get (AddressAttributeData::class);
151
160
$ block ->setAttributeData ($ attributeData );
0 commit comments