Completed
Push — master ( 4e5891...513187 )
by Davide
12:04 queued 08:37
created
src/Http/Controllers/ResponsiveQuoteController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -20,16 +20,16 @@
 block discarded – undo
20 20
 
21 21
         if ($searchKeywords) {
22 22
             $quotes = Quote::orderBy('author')
23
-                                     ->where('author', 'like', '%'.$request->input('keywords').'%')
24
-                                     ->paginate(20);
23
+                                        ->where('author', 'like', '%'.$request->input('keywords').'%')
24
+                                        ->paginate(20);
25 25
         } else {
26 26
             $quotes = Quote::orderBy('author')
27
-                                     ->paginate(20);
27
+                                        ->paginate(20);
28 28
         }
29 29
 
30 30
         return view('php-responsive-quote::index', compact('quotes'))
31
-                             ->with('i', (request()->input('page', 1) - 1) * 20)
32
-                             ->with('searchKeywords', $searchKeywords);
31
+                                ->with('i', (request()->input('page', 1) - 1) * 20)
32
+                                ->with('searchKeywords', $searchKeywords);
33 33
         //return view('php-responsive-quote::index');
34 34
     }
35 35
 
Please login to merge, or discard this patch.
src/PhpResponsiveRandomQuoteServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     {
15 15
         if ($this->app->runningInConsole()) {
16 16
             $this->commands([
17
-                ResponsiveQuote::class,  //the console class
17
+                ResponsiveQuote::class, //the console class
18 18
             ]);
19 19
         }
20 20
 
@@ -37,13 +37,13 @@  discard block
 block discarded – undo
37 37
             __DIR__.'/../resources/assets/sass' => resource_path('sass/vendor/responsive-quotes/'),
38 38
         ], 'sass');
39 39
 
40
-        if (! class_exists('CreateQuotesTable')) {
40
+        if (!class_exists('CreateQuotesTable')) {
41 41
             $this->publishes([
42 42
                 __DIR__.'/../database/migrations/create_quotes_table.php.stub' => database_path('migrations/'.Carbon::now()->format('Y_m_d_Hmsu').'_create_quotes_table.php'),
43 43
             ], 'migrations');
44 44
         }
45 45
 
46
-        if (! class_exists('CreateQuoteTranslationsTable')) {
46
+        if (!class_exists('CreateQuoteTranslationsTable')) {
47 47
             $this->publishes([
48 48
                 __DIR__.'/../database/migrations/create_quote_translations_table.php.stub' => database_path('migrations/'.Carbon::now()->format('Y_m_d_Hmsu').'_create_quote_translations_table.php'),
49 49
             ], 'migrations');
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
     public function register()
63 63
     {
64
-        $this->app->bind('php-responsive-quote', function () {
64
+        $this->app->bind('php-responsive-quote', function() {
65 65
             return new QuoteFactory();
66 66
         });
67 67
 
Please login to merge, or discard this patch.