Completed
Push — develop ( b0c1cf...96d23e )
by Christoffer
05:18
created
Eloquent/migrations/2015_06_17_110055_create_oauth_access_tokens_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('oauth_access_tokens', function (Blueprint $table) {
16
+        Schema::create('oauth_access_tokens', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->integer('session_id')->unsigned();
19 19
             $table->string('token');
Please login to merge, or discard this patch.
src/Eloquent/migrations/2015_06_17_105107_create_oauth_sessions_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('oauth_sessions', function (Blueprint $table) {
16
+        Schema::create('oauth_sessions', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->integer('client_id')->unsigned();
19 19
             $table->string('owner_type');
Please login to merge, or discard this patch.
src/Eloquent/migrations/2015_06_17_104848_create_oauth_clients_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('oauth_clients', function (Blueprint $table) {
16
+        Schema::create('oauth_clients', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('key')->unique();
19 19
             $table->string('secret');
Please login to merge, or discard this patch.
Eloquent/migrations/2015_06_17_110112_create_oauth_refresh_tokens_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('oauth_refresh_tokens', function (Blueprint $table) {
16
+        Schema::create('oauth_refresh_tokens', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->integer('access_token_id')->unsigned();
19 19
             $table->string('token');
Please login to merge, or discard this patch.
src/Eloquent/EloquentServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -30,23 +30,23 @@
 block discarded – undo
30 30
      */
31 31
     protected function registerContainerBindings(Container $container)
32 32
     {
33
-        $container->bind(AccessTokenStorage::class, function () {
33
+        $container->bind(AccessTokenStorage::class, function() {
34 34
             return new AccessTokenStorage;
35 35
         });
36 36
 
37
-        $container->bind(ClientStorage::class, function () {
37
+        $container->bind(ClientStorage::class, function() {
38 38
             return new ClientStorage;
39 39
         });
40 40
 
41
-        $container->bind(RefreshTokenStorage::class, function () {
41
+        $container->bind(RefreshTokenStorage::class, function() {
42 42
             return new RefreshTokenStorage;
43 43
         });
44 44
 
45
-        $container->bind(ScopeStorage::class, function () {
45
+        $container->bind(ScopeStorage::class, function() {
46 46
             return new ScopeStorage;
47 47
         });
48 48
 
49
-        $container->bind(SessionStorage::class, function () {
49
+        $container->bind(SessionStorage::class, function() {
50 50
             return new SessionStorage;
51 51
         });
52 52
 
Please login to merge, or discard this patch.
src/OAuth2ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     protected function registerBindings(Container $container, ConfigRepository $config)
44 44
     {
45
-        $container->bind(OAuth2Service::class, function ($container) use ($config) {
45
+        $container->bind(OAuth2Service::class, function($container) use ($config) {
46 46
             return $this->createService($container, $config[self::CONFIG_KEY]);
47 47
         });
48 48
 
Please login to merge, or discard this patch.
tests/_support/Mock/MockStorageServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -29,23 +29,23 @@
 block discarded – undo
29 29
      */
30 30
     protected function registerContainerBindings(Container $container)
31 31
     {
32
-        $container->bind(MockAccessTokenStorage::class, function () {
32
+        $container->bind(MockAccessTokenStorage::class, function() {
33 33
             return new MockAccessTokenStorage;
34 34
         });
35 35
 
36
-        $container->bind( MockClientStorage::class, function () {
36
+        $container->bind(MockClientStorage::class, function() {
37 37
             return new MockClientStorage;
38 38
         });
39 39
 
40
-        $container->bind(MockRefreshTokenStorage::class, function () {
40
+        $container->bind(MockRefreshTokenStorage::class, function() {
41 41
             return new MockRefreshTokenStorage;
42 42
         });
43 43
 
44
-        $container->bind(MockScopeStorage::class, function () {
44
+        $container->bind(MockScopeStorage::class, function() {
45 45
             return new MockScopeStorage;
46 46
         });
47 47
 
48
-        $container->bind(MockSessionStorage::class, function () {
48
+        $container->bind(MockSessionStorage::class, function() {
49 49
             return new MockSessionStorage;
50 50
         });
51 51
 
Please login to merge, or discard this patch.
tests/_support/Mock/Storages/MockAccessTokenStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         $entity = new AccessTokenEntity($this->server);
18 18
 
19 19
         $entity->setId('mF_9.B5f-4.1JqM');
20
-        $entity->setExpireTime(time() + 24*60*60); // NOW + 24h
20
+        $entity->setExpireTime(time() + 24 * 60 * 60); // NOW + 24h
21 21
 
22 22
         return $entity;
23 23
     }
Please login to merge, or discard this patch.
tests/_support/Mock/MockApplication.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,6 +9,6 @@
 block discarded – undo
9 9
      */
10 10
     public function __construct($basePath = null)
11 11
     {
12
-        parent::__construct(realpath(__DIR__ . '/../'));
12
+        parent::__construct(realpath(__DIR__.'/../'));
13 13
     }
14 14
 }
Please login to merge, or discard this patch.