-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #184 from stof/fix_phpstan
Fix phpstan job
- Loading branch information
Showing
3 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,11 +28,14 @@ | |
* Symfony BrowserKit driver. | ||
* | ||
* @author Konstantin Kudryashov <[email protected]> | ||
* | ||
* @template TRequest of object | ||
* @template TResponse of object | ||
*/ | ||
class BrowserKitDriver extends CoreDriver | ||
{ | ||
/** | ||
* @var AbstractBrowser | ||
* @var AbstractBrowser<TRequest, TResponse> | ||
*/ | ||
private $client; | ||
|
||
|
@@ -52,7 +55,8 @@ class BrowserKitDriver extends CoreDriver | |
/** | ||
* Initializes BrowserKit driver. | ||
* | ||
* @param string|null $baseUrl Base URL for HttpKernel clients | ||
* @param AbstractBrowser<TRequest, TResponse> $client | ||
* @param string|null $baseUrl Base URL for HttpKernel clients | ||
*/ | ||
public function __construct(AbstractBrowser $client, ?string $baseUrl = null) | ||
{ | ||
|
@@ -71,7 +75,7 @@ public function __construct(AbstractBrowser $client, ?string $baseUrl = null) | |
/** | ||
* Returns BrowserKit browser instance. | ||
* | ||
* @return AbstractBrowser | ||
* @return AbstractBrowser<TRequest, TResponse> | ||
*/ | ||
public function getClient() | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters