Completed
Pull Request — master (#114)
by Yang
23:05
created
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}]', 'Mews\Captcha\LumenCaptchaController@getCaptcha');
27
+            $this->app->get('captcha[/{config}]', 'Mews\Captcha\LumenCaptchaController@getCaptcha');
28 28
         } else {
29 29
             if ((double) $this->app->version() >= 5.2) {
30 30
                 $this->app['router']->get('captcha/{config?}', '\Mews\Captcha\CaptchaController@getCaptcha')->middleware('web');
Please login to merge, or discard this patch.
src/Captcha.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
     /**
208 208
      * Create captcha image
209 209
      *
210
-     * @param null   $text
210
+     * @param string   $text
211 211
      * @param string $config
212 212
      * @return ImageManager->response
213 213
      */
Please login to merge, or discard this patch.