Completed
Push — master ( 5cec17...25ceca )
by Pascal
03:29 queued 12s
created
src/Commands/SetInfos.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
 
162 162
     /**
163 163
      * @param string $url
164
-     * @return bool|null
164
+     * @return boolean
165 165
      */
166 166
     protected function setExists($url)
167 167
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php namespace MtGTutor\Console\Commands;
2 2
 
3
-use MtGTutor\Console\Scraper;
4 3
 use Goutte\Client;
4
+use MtGTutor\Console\Scraper;
5 5
 use Symfony\Component\Console\Command\Command;
6 6
 use Symfony\Component\Console\Helper\Table;
7 7
 use Symfony\Component\Console\Input\InputArgument;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         // Fetch WotC website
123 123
         $crawler = $this->scraper->request($this->url);
124 124
 
125
-        $crawler->filter('.card-set-archive-table > ul > li > a > span.logo > img')->each(function (Crawler $node) {
125
+        $crawler->filter('.card-set-archive-table > ul > li > a > span.logo > img')->each(function(Crawler $node) {
126 126
             $logo = $node->attr('src');
127 127
 
128 128
             if ($this->setExists($logo)) {
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
                 $crawler = $this->crawlNextPage($node);
140 140
 
141 141
                 // Fetch block, number of cards and release date
142
-                $crawler->filter('.tab-content.current > p')->each(function (Crawler $node, $i) {
142
+                $crawler->filter('.tab-content.current > p')->each(function(Crawler $node, $i) {
143 143
                     if ($i % 2) {
144 144
                         $this->fetchBlockCardsAndDate($node, $i);
145 145
                     }
Please login to merge, or discard this patch.