Completed
Pull Request — master (#132)
by
unknown
07:41
created
src/CaptchaController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public function getCaptcha(Captcha $captcha, $config = 'default')
23 23
     {
24
-        return $captcha->create($config)->response(config(['captcha.' . $config . '.type' => 'png']), config(['captcha.' . $config . 'quality' => 90]));
24
+        return $captcha->create($config)->response(config(['captcha.'.$config.'.type' => 'png']), config(['captcha.'.$config.'quality' => 90]));
25 25
     }
26 26
 
27 27
 }
Please login to merge, or discard this patch.
src/CaptchaServiceProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
         // HTTP routing
26 26
         if (strpos($this->app->version(), 'Lumen') !== false) {
27
-           $this->app->get('captcha[/{config}]', 'Heimuya\Captcha\LumenCaptchaController@getCaptcha');
27
+            $this->app->get('captcha[/{config}]', 'Heimuya\Captcha\LumenCaptchaController@getCaptcha');
28 28
         } else {
29 29
             if ((double) $this->app->version() >= 5.2) {
30 30
                 $this->app['router']->get('captcha/{config?}', '\Heimuya\Captcha\CaptchaController@getCaptcha')->middleware('web');
Please login to merge, or discard this patch.