@@ -82,7 +82,7 @@ class WebPushMessage
82
82
/**
83
83
* Set the notification title.
84
84
*
85
- * @param string $value
85
+ * @param string $value
86
86
* @return $this
87
87
*/
88
88
public function title ($ value )
@@ -95,9 +95,9 @@ public function title($value)
95
95
/**
96
96
* Add a notification action.
97
97
*
98
- * @param string $title
99
- * @param string $action
100
- * @param string $icon
98
+ * @param string $title
99
+ * @param string $action
100
+ * @param string $icon
101
101
* @return $this
102
102
*/
103
103
public function action ($ title , $ action , $ icon = null )
@@ -110,7 +110,7 @@ public function action($title, $action, $icon = null)
110
110
/**
111
111
* Set the notification badge.
112
112
*
113
- * @param string $value
113
+ * @param string $value
114
114
* @return $this
115
115
*/
116
116
public function badge ($ value )
@@ -123,7 +123,7 @@ public function badge($value)
123
123
/**
124
124
* Set the notification body.
125
125
*
126
- * @param string $value
126
+ * @param string $value
127
127
* @return $this
128
128
*/
129
129
public function body ($ value )
@@ -136,7 +136,7 @@ public function body($value)
136
136
/**
137
137
* Set the notification direction.
138
138
*
139
- * @param string $value
139
+ * @param string $value
140
140
* @return $this
141
141
*/
142
142
public function dir ($ value )
@@ -149,7 +149,7 @@ public function dir($value)
149
149
/**
150
150
* Set the notification icon url.
151
151
*
152
- * @param string $value
152
+ * @param string $value
153
153
* @return $this
154
154
*/
155
155
public function icon ($ value )
@@ -162,7 +162,7 @@ public function icon($value)
162
162
/**
163
163
* Set the notification image url.
164
164
*
165
- * @param string $value
165
+ * @param string $value
166
166
* @return $this
167
167
*/
168
168
public function image ($ value )
@@ -175,7 +175,7 @@ public function image($value)
175
175
/**
176
176
* Set the notification language.
177
177
*
178
- * @param string $value
178
+ * @param string $value
179
179
* @return $this
180
180
*/
181
181
public function lang ($ value )
@@ -186,7 +186,7 @@ public function lang($value)
186
186
}
187
187
188
188
/**
189
- * @param bool $value
189
+ * @param bool $value
190
190
* @return $this
191
191
*/
192
192
public function renotify ($ value = true )
@@ -197,7 +197,7 @@ public function renotify($value = true)
197
197
}
198
198
199
199
/**
200
- * @param bool $value
200
+ * @param bool $value
201
201
* @return $this
202
202
*/
203
203
public function requireInteraction ($ value = true )
@@ -210,7 +210,7 @@ public function requireInteraction($value = true)
210
210
/**
211
211
* Set the notification tag.
212
212
*
213
- * @param string $value
213
+ * @param string $value
214
214
* @return $this
215
215
*/
216
216
public function tag ($ value )
@@ -223,7 +223,7 @@ public function tag($value)
223
223
/**
224
224
* Set the notification vibration pattern.
225
225
*
226
- * @param array $value
226
+ * @param array $value
227
227
* @return $this
228
228
*/
229
229
public function vibrate ($ value )
@@ -236,7 +236,7 @@ public function vibrate($value)
236
236
/**
237
237
* Set the notification arbitrary data.
238
238
*
239
- * @param mixed $value
239
+ * @param mixed $value
240
240
* @return $this
241
241
*/
242
242
public function data ($ value )
@@ -251,7 +251,7 @@ public function data($value)
251
251
*
252
252
* @link https://github.com/web-push-libs/web-push-php#notifications-and-default-options
253
253
*
254
- * @param array $value
254
+ * @param array $value
255
255
* @return $this
256
256
*/
257
257
public function options (array $ value )
0 commit comments