Skip to content

Commit

Permalink
Merge pull request #739 from iamgergo/3.0
Browse files Browse the repository at this point in the history
[3.0] Fix docblocks
  • Loading branch information
driesvints authored Jan 3, 2020
2 parents c73dd33 + 333d71f commit 8ef9686
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/Contracts/HorizonCommandQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ interface HorizonCommandQueue
* @param string $name
* @param string $command
* @param array $options
* @return void
*/
public function push($name, $command, array $options = []);

Expand Down
2 changes: 1 addition & 1 deletion src/Jobs/RetryFailedJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class RetryFailedJob
/**
* Create a new job instance.
*
* @param string $id;
* @param string $id
* @return void
*/
public function __construct($id)
Expand Down
1 change: 1 addition & 0 deletions src/RedisHorizonCommandQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public function __construct(RedisFactory $redis)
* @param string $name
* @param string $command
* @param array $options
* @return void
*/
public function push($name, $command, array $options = [])
{
Expand Down
4 changes: 2 additions & 2 deletions stubs/HorizonServiceProvider.stub
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App\Providers;

use Laravel\Horizon\Horizon;
use Illuminate\Support\Facades\Gate;
use Laravel\Horizon\Horizon;
use Laravel\Horizon\HorizonApplicationServiceProvider;

class HorizonServiceProvider extends HorizonApplicationServiceProvider
Expand All @@ -20,7 +20,7 @@ class HorizonServiceProvider extends HorizonApplicationServiceProvider
// Horizon::routeSmsNotificationsTo('15556667777');
// Horizon::routeMailNotificationsTo('example@example.com');
// Horizon::routeSlackNotificationsTo('slack-webhook-url', '#channel');

// Horizon::night();
}

Expand Down

0 comments on commit 8ef9686

Please sign in to comment.