Completed
Push — master ( 443200...401b54 )
by MeWebStudio - Muharrem
12s
created
src/Captcha.php 2 patches
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -232,8 +232,7 @@  discard block
 block discarded – undo
232 232
                 $this->height
233 233
             );
234 234
             $this->canvas->insert($this->image);
235
-        }
236
-        else
235
+        } else
237 236
         {
238 237
             $this->image = $this->canvas;
239 238
         }
@@ -351,8 +350,7 @@  discard block
 block discarded – undo
351 350
         if ( ! empty($this->fontColors))
352 351
         {
353 352
             $color = $this->fontColors[rand(0, count($this->fontColors) - 1)];
354
-        }
355
-        else
353
+        } else
356 354
         {
357 355
             $color = [rand(0, 255), rand(0, 255), rand(0, 255)];
358 356
         }
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -492,7 +492,7 @@
 block discarded – undo
492 492
      * @param null $config
493 493
      * @param array $attrs HTML attributes supplied to the image tag where key is the attribute
494 494
      * and the value is the attribute value
495
-     * @return string
495
+     * @return HtmlString
496 496
      */
497 497
     public function img($config = null, $attrs = [])
498 498
     {
Please login to merge, or discard this patch.