| @@ -84,7 +84,7 @@ | ||
| 84 | 84 | } | 
| 85 | 85 | |
| 86 | 86 | /** | 
| 87 | - * @param null $client | |
| 87 | + * @param QwerteeClient $client | |
| 88 | 88 | */ | 
| 89 | 89 | public static function setClient($client) | 
| 90 | 90 |      { | 
| @@ -43,9 +43,9 @@ discard block | ||
| 43 | 43 | } | 
| 44 | 44 | |
| 45 | 45 | $list = collect($this->client->get_items()) | 
| 46 | -            ->sortBy(function (\SimplePie_Item $item, $key) { | |
| 46 | +            ->sortBy(function(\SimplePie_Item $item, $key) { | |
| 47 | 47 | return $item->get_title(); | 
| 48 | -            })->sortByDesc(function (\SimplePie_Item $item, $key) { | |
| 48 | +            })->sortByDesc(function(\SimplePie_Item $item, $key) { | |
| 49 | 49 |                  return $item->get_date('Ymd'); | 
| 50 | 50 | }); | 
| 51 | 51 | |
| @@ -75,7 +75,7 @@ discard block | ||
| 75 | 75 | |
| 76 | 76 | private function extractData(Collection $feedItems) | 
| 77 | 77 |      { | 
| 78 | -        $dataItems = $feedItems->map(function (\SimplePie_Item $item) { | |
| 78 | +        $dataItems = $feedItems->map(function(\SimplePie_Item $item) { | |
| 79 | 79 | $crawler = new Crawler($item->get_content()); | 
| 80 | 80 |              $mens = $crawler->filter('img')->first()->attr('src'); | 
| 81 | 81 | |