Completed
Push — master ( 49cd13...0afab7 )
by Mike
04:03
created
config/genealabs-laravel-caffeine.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'dripIntervalInMilliSeconds' => 300000,         // every 5 minutes
5
-    'domain' => null,                               // defaults to url('/')
6
-    'route' => 'genealabs/laravel-caffeine/drip',   // can be customized
4
+    'dripIntervalInMilliSeconds' => 300000, // every 5 minutes
5
+    'domain' => null, // defaults to url('/')
6
+    'route' => 'genealabs/laravel-caffeine/drip', // can be customized
7 7
 ];
Please login to merge, or discard this patch.
src/Providers/Service.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     {
14 14
         app('router')->group($this->middlewareGroupExists('web')
15 15
             ? ['middleware' => 'web']
16
-            : [], function () {
16
+            : [], function() {
17 17
                 require __DIR__ . '/../../routes/web.php';
18 18
             });
19 19
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     {
42 42
         $routes = collect(app('router')->getRoutes()->getRoutes());
43 43
 
44
-        return $routes->reduce(function ($carry, Route $route) use ($group) {
44
+        return $routes->reduce(function($carry, Route $route) use ($group) {
45 45
             $carry = ($carry ?? false) ?: false;
46 46
             $actions = (array) $route->getAction();
47 47
 
Please login to merge, or discard this patch.
routes/web.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 use GeneaLabs\LaravelCaffeine\Http\Controllers\Test;
5 5
 
6 6
 $dripRoute = config('genealabs-laravel-caffeine.route', 'genealabs/laravel-caffeine/drip');
7
-Route::get($dripRoute, Drip::class.'@drip');
7
+Route::get($dripRoute, Drip::class . '@drip');
8 8
 
9
-Route::group(['prefix' => 'tests'], function () {
9
+Route::group(['prefix' => 'tests'], function() {
10 10
     Route::any('dripped-form', Test::class . '@drippedForm');
11 11
     Route::any('expiring-form', Test::class . '@expiredForm');
12 12
 });
Please login to merge, or discard this patch.