@@ -11,7 +11,7 @@ class PushoverReceiver
1111 /**
1212 * PushoverReceiver constructor.
1313 *
14- * @param string $key User or group key.
14+ * @param string $key User or group key.
1515 */
1616 protected function __construct (string $ key )
1717 {
@@ -21,7 +21,7 @@ protected function __construct(string $key)
2121 /**
2222 * Create new Pushover receiver with an user key.
2323 *
24- * @param string $userKey Pushover user key.
24+ * @param string $userKey Pushover user key.
2525 * @return PushoverReceiver
2626 */
2727 public static function withUserKey (string $ userKey ): PushoverReceiver
@@ -32,7 +32,7 @@ public static function withUserKey(string $userKey): PushoverReceiver
3232 /**
3333 * Create new Pushover receiver with a group key.
3434 *
35- * @param string $groupKey Pushover group key.
35+ * @param string $groupKey Pushover group key.
3636 * @return PushoverReceiver
3737 */
3838 public static function withGroupKey (string $ groupKey ): PushoverReceiver
@@ -45,7 +45,7 @@ public static function withGroupKey(string $groupKey): PushoverReceiver
4545 /**
4646 * Send the message to a specific device.
4747 *
48- * @param array|string $device
48+ * @param array|string $device
4949 * @return PushoverReceiver
5050 */
5151 public function toDevice (array |string $ device ): static
@@ -85,7 +85,7 @@ public function toArray(): array
8585 'user ' => $ this ->key ,
8686 ];
8787
88- if (!empty ($ this ->devices )) {
88+ if (! empty ($ this ->devices )) {
8989 $ data ['device ' ] = implode (', ' , $ this ->devices );
9090 }
9191
0 commit comments