File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Downloader/Middleware Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ 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 (
34- // @phpstan-ignore-next-line
34+ /** @phpstan-ignore-next-line */
3535 private LoggerInterface $ logger ,
3636 ?callable $ getBrowsershot = null ,
3737 ) {
@@ -68,7 +68,7 @@ private function configureBrowsershot(string $uri): Browsershot
6868 {
6969 $ browsershot = ($ this ->getBrowsershot )($ uri );
7070
71- if (! empty ($ this ->option ('chromiumArguments ' ))) {
71+ if (!empty ($ this ->option ('chromiumArguments ' ))) {
7272 /** @phpstan-ignore argument.type */
7373 $ browsershot ->addChromiumArguments ($ this ->option ('chromiumArguments ' ));
7474 }
@@ -108,7 +108,7 @@ private function configureBrowsershot(string $uri): Browsershot
108108 $ browsershot ->userAgent ($ userAgent );
109109 }
110110
111- if (! empty ($ delay = $ this ->option ('delay ' ))) {
111+ if (!empty ($ delay = $ this ->option ('delay ' ))) {
112112 /** @phpstan-ignore argument.type */
113113 $ browsershot ->setDelay ($ delay );
114114 }
You can’t perform that action at this time.
0 commit comments