| @@ -69,12 +69,12 @@ discard block | ||
| 69 | 69 | $articleBody = $article->getBody(); | 
| 70 | 70 | $crawler = new Crawler($articleBody); | 
| 71 | 71 |              $crawler->filter('img') | 
| 72 | -                ->reduce(function (Crawler $node, $i) use ($input) { | |
| 72 | +                ->reduce(function(Crawler $node, $i) use ($input) { | |
| 73 | 73 |                      if (false === strpos($node->attr('src'), $input->getArgument('term'))) { | 
| 74 | 74 | return false; | 
| 75 | 75 | } | 
| 76 | 76 | }) | 
| 77 | -                ->each(static function (Crawler $crawler, $i) use ($input) { | |
| 77 | +                ->each(static function(Crawler $crawler, $i) use ($input) { | |
| 78 | 78 |                      $closest = $crawler->closest($input->getArgument('parent')); | 
| 79 | 79 |                      if (is_iterable($closest)) { | 
| 80 | 80 |                          foreach ($closest as $node) { | 
| @@ -83,7 +83,7 @@ discard block | ||
| 83 | 83 | } | 
| 84 | 84 | }); | 
| 85 | 85 | |
| 86 | -            $newContent = $crawler->filter('html body')->each(static function (Crawler $crawler) { | |
| 86 | +            $newContent = $crawler->filter('html body')->each(static function(Crawler $crawler) { | |
| 87 | 87 | return $crawler->html(); | 
| 88 | 88 | }); | 
| 89 | 89 | |