@@ -103,7 +103,7 @@ class PushoverMessage
103103 public const EMERGENCY_PRIORITY = 2 ;
104104
105105 /**
106- * @param string $content
106+ * @param string $content
107107 * @return static
108108 */
109109 public static function create (string $ content = '' ): static
@@ -112,7 +112,7 @@ public static function create(string $content = ''): static
112112 }
113113
114114 /**
115- * @param string $content
115+ * @param string $content
116116 */
117117 public function __construct (string $ content = '' )
118118 {
@@ -122,7 +122,7 @@ public function __construct(string $content = '')
122122 /**
123123 * Set the content of the Pushover message.
124124 *
125- * @param string $content
125+ * @param string $content
126126 * @return $this
127127 */
128128 public function content (string $ content ): static
@@ -171,7 +171,7 @@ public function monospace(): static
171171 /**
172172 * Set the title of the Pushover message.
173173 *
174- * @param string $title
174+ * @param string $title
175175 * @return $this
176176 */
177177 public function title (string $ title ): static
@@ -184,13 +184,13 @@ public function title(string $title): static
184184 /**
185185 * Set the time of the Pushover message.
186186 *
187- * @param int|Carbon $time
187+ * @param int|Carbon $time
188188 * @return $this
189189 */
190190 public function time (int |Carbon $ time ): static
191191 {
192192 if ($ time instanceof Carbon) {
193- $ time = (int )$ time ->timestamp ;
193+ $ time = (int ) $ time ->timestamp ;
194194 }
195195
196196 $ this ->timestamp = $ time ;
@@ -201,8 +201,8 @@ public function time(int|Carbon $time): static
201201 /**
202202 * Set a supplementary url for the Pushover message.
203203 *
204- * @param string $url
205- * @param string $title
204+ * @param string $url
205+ * @param string $title
206206 * @return $this
207207 */
208208 public function url (string $ url , string $ title = '' ): static
@@ -216,7 +216,7 @@ public function url(string $url, string $title = ''): static
216216 /**
217217 * Set the sound of the Pushover message.
218218 *
219- * @param string $sound
219+ * @param string $sound
220220 * @return $this
221221 */
222222 public function sound (string $ sound ): static
@@ -229,7 +229,7 @@ public function sound(string $sound): static
229229 /**
230230 * Set the image for attaching to the Pushover message. Either full or relative server path or a URL.
231231 *
232- * @param string $image
232+ * @param string $image
233233 * @return $this
234234 */
235235 public function image (string $ image ): static
@@ -243,10 +243,11 @@ public function image(string $image): static
243243 * Set the priority of the Pushover message.
244244 * Retry and expire are mandatory when setting the priority to emergency.
245245 *
246- * @param int $priority
247- * @param int|null $retryTimeout
248- * @param int|null $expireAfter
246+ * @param int $priority
247+ * @param int|null $retryTimeout
248+ * @param int|null $expireAfter
249249 * @return $this
250+ *
250251 * @throws EmergencyNotificationRequiresRetryAndExpire
251252 */
252253 public function priority (int $ priority , int |null $ retryTimeout = null , int |null $ expireAfter = null ): static
@@ -264,6 +265,7 @@ public function priority(int $priority, int|null $retryTimeout = null, int|null
264265 * Set the priority of the Pushover message to the lowest priority.
265266 *
266267 * @return $this
268+ *
267269 * @throws EmergencyNotificationRequiresRetryAndExpire
268270 */
269271 public function lowestPriority (): static
@@ -275,6 +277,7 @@ public function lowestPriority(): static
275277 * Set the priority of the Pushover message to low.
276278 *
277279 * @return $this
280+ *
278281 * @throws EmergencyNotificationRequiresRetryAndExpire
279282 */
280283 public function lowPriority (): static
@@ -286,6 +289,7 @@ public function lowPriority(): static
286289 * Set the priority of the Pushover message to normal.
287290 *
288291 * @return $this
292+ *
289293 * @throws EmergencyNotificationRequiresRetryAndExpire
290294 */
291295 public function normalPriority (): static
@@ -297,6 +301,7 @@ public function normalPriority(): static
297301 * Set the priority of the Pushover message to high.
298302 *
299303 * @return $this
304+ *
300305 * @throws EmergencyNotificationRequiresRetryAndExpire
301306 */
302307 public function highPriority (): static
@@ -308,9 +313,10 @@ public function highPriority(): static
308313 * Set the priority of the Pushover message to emergency.
309314 * Retry and expire are mandatory when setting the priority to emergency.
310315 *
311- * @param int $retryTimeout
312- * @param int $expireAfter
316+ * @param int $retryTimeout
317+ * @param int $expireAfter
313318 * @return $this
319+ *
314320 * @throws EmergencyNotificationRequiresRetryAndExpire
315321 */
316322 public function emergencyPriority (int $ retryTimeout , int $ expireAfter ): static
@@ -344,9 +350,9 @@ public function toArray(): array
344350 /**
345351 * Ensure an emergency message has an retry and expiry time.
346352 *
347- * @param int $priority
348- * @param int|null $retry
349- * @param int|null $expire
353+ * @param int $priority
354+ * @param int|null $retry
355+ * @param int|null $expire
350356 *
351357 * @throws EmergencyNotificationRequiresRetryAndExpire
352358 */
0 commit comments