Completed
Pull Request — master (#15)
by Hugo
03:12
created
src/Application/Selenium/SeleniumDownloader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,13 +76,13 @@
 block discarded – undo
76 76
     private function setDownloadWithProgressBar()
77 77
     {
78 78
         $emitter = $this->httpClient->getEmitter();
79
-        $emitter->on('before', function (\GuzzleHttp\Event\BeforeEvent $event) {
79
+        $emitter->on('before', function(\GuzzleHttp\Event\BeforeEvent $event) {
80 80
             echo $event->getRequest();
81 81
         });
82
-        $emitter->once('progress', function (\GuzzleHttp\Event\ProgressEvent $event) {
82
+        $emitter->once('progress', function(\GuzzleHttp\Event\ProgressEvent $event) {
83 83
             $this->progressBar->start($event->downloadSize);
84 84
         });
85
-        $emitter->on('progress', function (\GuzzleHttp\Event\ProgressEvent $event) {
85
+        $emitter->on('progress', function(\GuzzleHttp\Event\ProgressEvent $event) {
86 86
             $this->progressBar->setProgress($event->downloaded);
87 87
         });
88 88
     }
Please login to merge, or discard this patch.