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
2828 private $ getBrowsershot ;
2929
3030 /**
31- * @param null|callable(string): Browsershot $getBrowsershot
31+ * @param null|callable(string): Browsershot $getBrowsershot
3232 */
3333 public function __construct (
3434 private LoggerInterface $ logger ,
@@ -64,7 +64,7 @@ private function configureBrowsershot(string $uri): Browsershot
6464 {
6565 $ browsershot = ($ this ->getBrowsershot )($ uri );
6666
67- if (! empty ($ this ->option ('chromiumArguments ' ))) {
67+ if (!empty ($ this ->option ('chromiumArguments ' ))) {
6868 /** @phpstan-ignore argument.type */
6969 $ browsershot ->addChromiumArguments ($ this ->option ('chromiumArguments ' ));
7070 }
@@ -104,7 +104,7 @@ private function configureBrowsershot(string $uri): Browsershot
104104 $ browsershot ->userAgent ($ userAgent );
105105 }
106106
107- if (! empty ($ delay = $ this ->option ('delay ' ))) {
107+ if (!empty ($ delay = $ this ->option ('delay ' ))) {
108108 /** @phpstan-ignore argument.type */
109109 $ browsershot ->setDelay ($ delay );
110110 }
You can’t perform that action at this time.
0 commit comments