@@ -72,9 +72,9 @@ public function setUp(): void
72
72
* ensuring alignment between content and subject in translated languages.
73
73
*
74
74
* @dataProvider customerOnFrenchStore
75
- * @param $requestFromStore
76
- * @param $subject
77
- * @param $message
75
+ * @param string $requestFromStore
76
+ * @param string $subject
77
+ * @param string $message
78
78
* @throws NoSuchEntityException
79
79
*/
80
80
#[
@@ -86,9 +86,9 @@ public function setUp(): void
86
86
DataFixture(Customer::class, ['email ' => 'customer@example.com ' , 'store_id ' => '$store2.id$ ' ], as: 'customer ' ),
87
87
]
88
88
public function testResetPasswordEmailRequestFromCustomStoreWhenCustomerIsOnCustomStore (
89
- $ requestFromStore ,
90
- $ subject ,
91
- $ message
89
+ string $ requestFromStore ,
90
+ string $ subject ,
91
+ string $ message
92
92
) {
93
93
$ this ->assertResetPasswordEmailContent ($ requestFromStore , $ subject , $ message );
94
94
}
@@ -98,9 +98,9 @@ public function testResetPasswordEmailRequestFromCustomStoreWhenCustomerIsOnCust
98
98
* ensuring alignment between content and subject in translated languages.
99
99
*
100
100
* @dataProvider customerOnDefaultStore
101
- * @param $requestFromStore
102
- * @param $subject
103
- * @param $comment
101
+ * @param string $requestFromStore
102
+ * @param string $subject
103
+ * @param string $comment
104
104
* @throws NoSuchEntityException
105
105
*/
106
106
#[
@@ -112,9 +112,9 @@ public function testResetPasswordEmailRequestFromCustomStoreWhenCustomerIsOnCust
112
112
DataFixture(Customer::class, ['email ' => 'customer@example.com ' ], as: 'customer ' ),
113
113
]
114
114
public function testResetPasswordEmailRequestFromCustomStoreWhenCustomerIsOnDefaultStore (
115
- $ requestFromStore ,
116
- $ subject ,
117
- $ comment
115
+ string $ requestFromStore ,
116
+ string $ subject ,
117
+ string $ comment
118
118
) {
119
119
$ this ->assertResetPasswordEmailContent ($ requestFromStore , $ subject , $ comment );
120
120
}
@@ -123,12 +123,12 @@ public function testResetPasswordEmailRequestFromCustomStoreWhenCustomerIsOnDefa
123
123
* Assert the consistency between the reset password email subject and content
124
124
* when the request originates from different stores.
125
125
*
126
- * @param $store
127
- * @param $subject
128
- * @param $message
126
+ * @param string $store
127
+ * @param string $subject
128
+ * @param string $message
129
129
* @throws NoSuchEntityException
130
130
*/
131
- private function assertResetPasswordEmailContent ($ store , $ subject , $ message )
131
+ private function assertResetPasswordEmailContent (string $ store , string $ subject , string $ message )
132
132
{
133
133
$ customer = $ this ->fixtures ->get ('customer ' );
134
134
$ email = $ customer ->getEmail ();
0 commit comments