More docblocks that should return void

This commit is contained in:
James Brooks 2015-08-30 22:45:27 +01:00
parent 77f19da9b0
commit 9414456fd1
16 changed files with 39 additions and 1 deletions

View File

@ -20,6 +20,8 @@ class AppComposer
* Index page view composer.
*
* @param \Illuminate\Contracts\View\View $view
*
* @return void
*/
public function compose(View $view)
{

View File

@ -20,6 +20,8 @@ class CurrentUserComposer
* Bind data to the view.
*
* @param \Illuminate\Contracts\View\View $view
*
* @return void
*/
public function compose(View $view)
{

View File

@ -21,6 +21,8 @@ class DashboardComposer
* Bind data to the view.
*
* @param \Illuminate\Contracts\View\View $view
*
* @return void
*/
public function compose(View $view)
{

View File

@ -39,6 +39,8 @@ class MetricsComposer
* Metrics view composer.
*
* @param \Illuminate\Contracts\View\View $view
*
* @return void
*/
public function compose(View $view)
{

View File

@ -23,6 +23,8 @@ class StatusPageComposer
* Index page view composer.
*
* @param \Illuminate\Contracts\View\View $view
*
* @return void
*/
public function compose(View $view)
{

View File

@ -20,6 +20,8 @@ class ThemeComposer
* Bind data to the view.
*
* @param \Illuminate\Contracts\View\View $view
*
* @return void
*/
public function compose(View $view)
{

View File

@ -22,6 +22,8 @@ class TimezoneLocaleComposer
* Timezones and Locales composer.
*
* @param \Illuminate\Contracts\View\View $view
*
* @return void
*/
public function compose(View $view)
{

View File

@ -33,6 +33,8 @@ class Repository
* Create a new settings service instance.
*
* @param \CachetHQ\Cachet\Models\Setting $model
*
* @return void
*/
public function __construct(Setting $model)
{
@ -75,6 +77,8 @@ class Repository
*
* @param string $name
* @param string $value
*
* @return void
*/
public function set($name, $value)
{

View File

@ -29,6 +29,8 @@ class Kernel extends ConsoleKernel
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
*
* @return void
*/
protected function schedule(Schedule $schedule)
{

View File

@ -24,6 +24,8 @@ class CustomerHasSubscribedEvent
/**
* Create a new customer has subscribed event instance.
*
* @return void
*/
public function __construct(Subscriber $subscriber)
{

View File

@ -24,6 +24,8 @@ class IncidentHasReportedEvent
/**
* Create a new incident has reported event instance.
*
* @return void
*/
public function __construct(Incident $incident)
{

View File

@ -24,6 +24,8 @@ class MaintenanceHasScheduledEvent
/**
* Create a new maintenance has scheduled event instance.
*
* @return void
*/
public function __construct(Incident $incident)
{

View File

@ -46,6 +46,8 @@ class SendIncidentEmailNotificationHandler
* @param \Illuminate\Contracts\Mail\Mailer $mailer
* @param \CachetHQ\Cachet\Models\Subscriber $subscriber
* @param \McCool\LaravelAutoPresenter\PresenterDecorator $presenter
*
* @return void
*/
public function __construct(MailQueue $mailer, Subscriber $subscriber, PresenterDecorator $presenter)
{
@ -58,6 +60,8 @@ class SendIncidentEmailNotificationHandler
* Handle the event.
*
* @param \CachetHQ\Cachet\Events\IncidentHasReportedEvent $event
*
* @return void
*/
public function handle(IncidentHasReportedEvent $event)
{

View File

@ -46,6 +46,8 @@ class SendMaintenanceEmailNotificationHandler
* @param \Illuminate\Contracts\Mail\Mailer $mailer
* @param \CachetHQ\Cachet\Models\Subscriber $subscriber
* @param \McCool\LaravelAutoPresenter\PresenterDecorator $presenter
*
* @return void
*/
public function __construct(MailQueue $mailer, Subscriber $subscriber, PresenterDecorator $presenter)
{
@ -58,6 +60,8 @@ class SendMaintenanceEmailNotificationHandler
* Handle the event.
*
* @param \CachetHQ\Cachet\Events\MaintenanceHasScheduledEvent $event
*
* @return void
*/
public function handle(MaintenanceHasScheduledEvent $event)
{

View File

@ -28,6 +28,8 @@ class SendSubscriberVerificationEmailHandler
* Create a new send subscriber verification email handler.
*
* @param \Illuminate\Contracts\Mail\Mailer $mailer
*
* @return void
*/
public function __construct(MailQueue $mailer)
{
@ -38,6 +40,8 @@ class SendSubscriberVerificationEmailHandler
* Handle the event.
*
* @param \CachetHQ\Cachet\Events\CustomerHasSubscribedEvent $event
*
* @return void
*/
public function handle(CustomerHasSubscribedEvent $event)
{

View File

@ -27,7 +27,7 @@ abstract class AbstractPresenter extends BaseLaravelAutoPresenter implements Arr
/**
* Create a incident presenter instance.
*
* @param object $resource
* @param \Illuminate\Database\Eloquent\Model $resource
*/
public function __construct($resource)
{