Skip to content

Commit

Permalink
[8.x] fix doc blocks (#35675)
Browse files Browse the repository at this point in the history
* fix doc blocks

* revert send docblock to mixed
  • Loading branch information
rodrigopedra committed Dec 21, 2020
1 parent b0c5fbf commit d30dbeb
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Cache/CacheLock.php
Expand Up @@ -14,7 +14,7 @@ class CacheLock extends Lock
/**
* Create a new lock instance.
*
* @var \Illuminate\Contracts\Cache\Store
* @param \Illuminate\Contracts\Cache\Store $store
* @param string $name
* @param int $seconds
* @param string|null $owner
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Mail/Mailer.php
Expand Up @@ -398,7 +398,7 @@ protected function setGlobalToAndRemoveCcAndBcc($message)
/**
* Queue a new e-mail message for sending.
*
* @param \Illuminate\Contracts\Mail\Mailable $view
* @param \Illuminate\Contracts\Mail\Mailable|string|array $view
* @param string|null $queue
* @return mixed
*
Expand Down
1 change: 0 additions & 1 deletion src/Illuminate/Mail/PendingMail.php
Expand Up @@ -114,7 +114,6 @@ public function bcc($users)
* Send a new mailable message instance.
*
* @param \Illuminate\Contracts\Mail\Mailable $mailable
*
* @return mixed
*/
public function send(MailableContract $mailable)
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Notifications/NotificationSender.php
Expand Up @@ -171,7 +171,7 @@ protected function shouldSendNotification($notifiable, $notification, $channel)
* Queue the given notification instances.
*
* @param mixed $notifiables
* @param array[\Illuminate\Notifications\Channels\Notification] $notification
* @param \Illuminate\Notifications\Notification $notification
* @return void
*/
protected function queueNotification($notifiables, $notification)
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Testing/Fakes/MailFake.php
Expand Up @@ -347,7 +347,7 @@ public function send($view, array $data = [], $callback = null)
/**
* Queue a new e-mail message for sending.
*
* @param string|array $view
* @param \Illuminate\Contracts\Mail\Mailable|string|array $view
* @param string|null $queue
* @return mixed
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Support/Testing/Fakes/PendingMailFake.php
Expand Up @@ -21,7 +21,7 @@ public function __construct($mailer)
/**
* Send a new mailable message instance.
*
* @param \Illuminate\Contracts\Mail\Mailable $mailable;
* @param \Illuminate\Contracts\Mail\Mailable $mailable
* @return mixed
*/
public function send(Mailable $mailable)
Expand All @@ -32,7 +32,7 @@ public function send(Mailable $mailable)
/**
* Push the given mailable onto the queue.
*
* @param \Illuminate\Contracts\Mail\Mailable $mailable;
* @param \Illuminate\Contracts\Mail\Mailable $mailable
* @return mixed
*/
public function queue(Mailable $mailable)
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Validation/Rules/Dimensions.php
Expand Up @@ -14,7 +14,7 @@ class Dimensions
/**
* Create a new dimensions rule instance.
*
* @param array $constraints;
* @param array $constraints
* @return void
*/
public function __construct(array $constraints = [])
Expand Down

0 comments on commit d30dbeb

Please sign in to comment.