File tree Expand file tree Collapse file tree
src/Downloader/Middleware Expand file tree Collapse file tree 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 ,
@@ -66,7 +66,7 @@ private function configureBrowsershot(string $uri): Browsershot
6666 {
6767 $ browsershot = ($ this ->getBrowsershot )($ uri );
6868
69- if (! empty ($ this ->option ('chromiumArguments ' ))) {
69+ if (!empty ($ this ->option ('chromiumArguments ' ))) {
7070 /** @phpstan-ignore argument.type */
7171 $ browsershot ->addChromiumArguments ($ this ->option ('chromiumArguments ' ));
7272 }
@@ -106,7 +106,7 @@ private function configureBrowsershot(string $uri): Browsershot
106106 $ browsershot ->userAgent ($ userAgent );
107107 }
108108
109- if (! empty ($ delay = $ this ->option ('delay ' ))) {
109+ if (!empty ($ delay = $ this ->option ('delay ' ))) {
110110 /** @phpstan-ignore argument.type */
111111 $ browsershot ->setDelay ($ delay );
112112 }
You can’t perform that action at this time.
0 commit comments