Skip to content

Commit

Permalink
Removed deferable from redis provider (#85)
Browse files Browse the repository at this point in the history
jaxwilko authored Jun 3, 2022
1 parent 6d95046 commit dff4e6e
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions src/Redis/RedisServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?php namespace Winter\Storm\Redis;
<?php

namespace Winter\Storm\Redis;

use Winter\Storm\Support\ServiceProvider;
use Illuminate\Redis\RedisManager;
use Illuminate\Redis\RedisServiceProvider as BaseRedisServiceProvider;
use Illuminate\Support\Arr;

class RedisServiceProvider extends BaseRedisServiceProvider
class RedisServiceProvider extends ServiceProvider
{
/**
* Register the service provider.
@@ -23,4 +25,14 @@ public function register()
return $app['redis']->connection();
});
}

/**
* Get the services provided by the provider.
*
* @return array
*/
public function provides()
{
return ['redis', 'redis.connection'];
}
}

0 comments on commit dff4e6e

Please sign in to comment.