• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SameOldNick / SameOldWebsite / 15666164139

15 Jun 2025 06:29PM UTC coverage: 88.045% (+24.3%) from 63.784%
15666164139

push

github

SameOldNick
Fixed method name

28443 of 32305 relevant lines covered (88.05%)

702.17 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/app/Components/Captcha/CaptchaManager.php
1
<?php
2

3
namespace App\Components\Captcha;
4

5
use App\Components\Captcha\Contracts\Driver;
6
use App\Components\Captcha\Contracts\Providers\SettingsProvider;
7
use App\Components\Captcha\Drivers\Recaptcha\Driver as RecaptchaDriver;
8
use Illuminate\Contracts\Container\Container;
9
use Illuminate\Support\Manager;
10

11
final class CaptchaManager extends Manager
12
{
13
    public function __construct(
14
        Container $container,
15
        protected readonly SettingsProvider $settings
16
    ) {
17
        parent::__construct($container);
243✔
18
    }
19

20
    /**
21
     * {@inheritDoc}
22
     */
23
    public function getDefaultDriver()
24
    {
25
        // Return the default driver name
26
        return $this->settings->defaultDriver();
×
27
    }
28

29
    /**
30
     * Create the Recaptcha driver.
31
     */
32
    protected function createRecaptchaDriver(): Driver
33
    {
34
        return new RecaptchaDriver($this->settings->get('recaptcha', default: []));
168✔
35
    }
36
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc