X-Git-Url: https://git.rapsys.eu/packbundle/blobdiff_plain/be7818e80700878eb8651a6717aa9f378bdc9377..1e337bacd356579f4fea5b1a0a34d7ca40e686cb:/Controller/ImageController.php?ds=sidebyside diff --git a/Controller/ImageController.php b/Controller/ImageController.php index 1fe33ae..6314361 100644 --- a/Controller/ImageController.php +++ b/Controller/ImageController.php @@ -35,13 +35,6 @@ class ImageController extends AbstractController implements ServiceSubscriberInt */ protected string $cache; - /** - * The ContainerInterface instance - * - * @var ContainerInterface - */ - #protected $container; - /** * The ImageUtil instance */ @@ -158,7 +151,7 @@ class ImageController extends AbstractController implements ServiceSubscriberInt $draw->setFontSize($this->image->captchaFontSize/1.5); //Set stroke width - $draw->setStrokeWidth($this->image->captchaStrokeWidth / 2); + $draw->setStrokeWidth($this->image->captchaStrokeWidth / 3); //Set rotation $draw->rotate($rotate = (rand(25, 75)*(rand(0,1)?-.1:.1)));