Skip to content

Commit

Permalink
chore: style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
atymic authored Apr 10, 2023
1 parent 2c018ce commit 27b6fa5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
3 changes: 2 additions & 1 deletion src/Pushover.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Pushover

/**
* @param HttpClient $http
* @param string $token
* @param string $token
*/
public function __construct(HttpClient $http, $token)
{
Expand All @@ -56,6 +56,7 @@ public function __construct(HttpClient $http, $token)
*
* @param array $params
* @return \Psr\Http\Message\ResponseInterface
*
* @throws CouldNotSendNotification
*/
public function send($params)
Expand Down
6 changes: 3 additions & 3 deletions src/PushoverChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class PushoverChannel
/**
* Create a new Pushover channel instance.
*
* @param Pushover $pushover
* @param Pushover $pushover
*/
public function __construct(Pushover $pushover, Dispatcher $events)
{
Expand All @@ -29,8 +29,8 @@ public function __construct(Pushover $pushover, Dispatcher $events)
/**
* Send the given notification.
*
* @param mixed $notifiable
* @param \Illuminate\Notifications\Notification $notification
* @param mixed $notifiable
* @param \Illuminate\Notifications\Notification $notification
*
* @throws \NotificationChannels\Pushover\Exceptions\CouldNotSendNotification
*/
Expand Down
10 changes: 5 additions & 5 deletions src/PushoverMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ class PushoverMessage
const EMERGENCY_PRIORITY = 2;

/**
* @param string $content
*
* @param string $content
* @return static
*/
public static function create($content = '')
Expand Down Expand Up @@ -204,8 +203,8 @@ public function time($time)
/**
* Set a supplementary url for the Pushover message.
*
* @param string $url
* @param string $title
* @param string $url
* @param string $title
* @return $this
*/
public function url($url, $title = null)
Expand All @@ -232,7 +231,7 @@ public function sound($sound)
/**
* Set the image for attaching to the Pushover message. Either full or relative server path or a URL.
*
* @param string $image
* @param string $image
* @return $this
*/
public function image($image)
Expand Down Expand Up @@ -344,6 +343,7 @@ public function toArray()
* @param int $priority
* @param int $retry
* @param int $expire
*
* @throws EmergencyNotificationRequiresRetryAndExpire
*/
protected function noEmergencyWithoutRetryOrExpire($priority, $retry, $expire)
Expand Down
1 change: 1 addition & 0 deletions src/PushoverReceiver.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class PushoverReceiver

/**
* PushoverReceiver constructor.
*
* @param $key User or group key.
*/
protected function __construct($key)
Expand Down

0 comments on commit 27b6fa5

Please sign in to comment.