File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Downloader/Middleware Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ final class ExecuteJavascriptMiddleware implements ResponseMiddlewareInterface
28
28
private $ getBrowsershot ;
29
29
30
30
/**
31
- * @param null|callable(string): Browsershot $getBrowsershot
31
+ * @param null|callable(string): Browsershot $getBrowsershot
32
32
*/
33
33
public function __construct (
34
34
private LoggerInterface $ logger ,
@@ -64,7 +64,7 @@ private function configureBrowsershot(string $uri): Browsershot
64
64
{
65
65
$ browsershot = ($ this ->getBrowsershot )($ uri );
66
66
67
- if (! empty ($ this ->option ('chromiumArguments ' ))) {
67
+ if (!empty ($ this ->option ('chromiumArguments ' ))) {
68
68
/** @phpstan-ignore argument.type */
69
69
$ browsershot ->addChromiumArguments ($ this ->option ('chromiumArguments ' ));
70
70
}
@@ -104,7 +104,7 @@ private function configureBrowsershot(string $uri): Browsershot
104
104
$ browsershot ->userAgent ($ userAgent );
105
105
}
106
106
107
- if (! empty ($ delay = $ this ->option ('delay ' ))) {
107
+ if (!empty ($ delay = $ this ->option ('delay ' ))) {
108
108
/** @phpstan-ignore argument.type */
109
109
$ browsershot ->setDelay ($ delay );
110
110
}
You can’t perform that action at this time.
0 commit comments