|
@@ -15,7 +15,7 @@ discard block |
|
|
block discarded – undo |
|
15
|
15
|
public const PLAYGROUND = ''; |
|
16
|
16
|
public const ICON_16 = 'favicon-16x16.png'; |
|
17
|
17
|
public const ICON_32 = 'favicon-32x32.png'; |
|
18
|
|
- public const EXTERNAL_DOMAINS = []; |
|
|
18
|
+ public const EXTERNAL_DOMAINS = [ ]; |
|
19
|
19
|
|
|
20
|
20
|
|
|
21
|
21
|
public function entries(string $file): Collection |
|
@@ -24,7 +24,7 @@ discard block |
|
|
block discarded – undo |
|
24
|
24
|
|
|
25
|
25
|
$crawler = HtmlPageCrawler::create(Storage::get($file)); |
|
26
|
26
|
|
|
27
|
|
- $crawler->filter('a.nav-item')->each(static function (HtmlPageCrawler $node) use ($entries) { |
|
|
27
|
+ $crawler->filter('a.nav-item')->each(static function(HtmlPageCrawler $node) use ($entries) { |
|
28
|
28
|
$entries->push([ |
|
29
|
29
|
'name' => $node->text(), |
|
30
|
30
|
'type' => 'Guide', |
Please login to merge, or discard this patch.