Skip to content

Commit

Permalink
SA fix
Browse files Browse the repository at this point in the history
  • Loading branch information
uuf6429 committed Nov 21, 2024
1 parent a5f4930 commit 024c979
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Custom/CapabilityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ public static function capabilitiesDataProvider(): iterable
private function createDriverExposingCapabilities(string $browserName, array $desiredCapabilities = []): WebdriverClassicDriver
{
return new class($browserName, $desiredCapabilities) extends WebdriverClassicDriver {

Check failure on line 89 in tests/Custom/CapabilityTest.php

View workflow job for this annotation

GitHub Actions / Static analysis

Method Mink\WebdriverClassicDriver\Tests\Custom\CapabilityTest::createDriverExposingCapabilities() should return Mink\WebdriverClassicDriver\WebdriverClassicDriver&object{capabilities: array<string, mixed>} but returns class@anonymous/tests/Custom/CapabilityTest.php:89.

Check failure on line 89 in tests/Custom/CapabilityTest.php

View workflow job for this annotation

GitHub Actions / Static analysis

Method Mink\WebdriverClassicDriver\Tests\Custom\CapabilityTest::createDriverExposingCapabilities() should return Mink\WebdriverClassicDriver\WebdriverClassicDriver&object{capabilities: array<string, mixed>} but returns class@anonymous/tests/Custom/CapabilityTest.php:89.
/**
* @var null|array<string, mixed>
*/
public ?array $capabilities = null;

public function __construct(string $browserName, array $desiredCapabilities)
Expand Down

0 comments on commit 024c979

Please sign in to comment.