| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function entries(string $file): Collection |
||
| 24 | { |
||
| 25 | $crawler = HtmlPageCrawler::create(Storage::get($file)); |
||
| 26 | |||
| 27 | $crawler->filter('h1')->each(function (HtmlPageCrawler $node) use ($entries) { |
||
| 28 | $entries->push([ |
||
| 29 | 'name' => 'What Shows up in Dash', |
||
| 30 | 'type' => 'One of the Million of Dash Entry Type', |
||
| 31 | 'path' => 'The Path to the File', |
||
| 32 | ]); |
||
| 33 | }); |
||
| 34 | |||
| 35 | return $entries; |
||
| 36 | } |
||
| 50 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.