@@ -102,11 +102,11 @@ discard block |
||
102 | 102 | { |
103 | 103 | $entries = $this->docsetEntries(); |
104 | 104 | |
105 | - $entries->each(static function ($entry) { |
|
105 | + $entries->each(static function($entry) { |
|
106 | 106 | DB::table('searchIndex')->insert([ |
107 | - 'name' => $entry['name'], |
|
108 | - 'type' => $entry['type'], |
|
109 | - 'path' => $entry['path'], |
|
107 | + 'name' => $entry[ 'name' ], |
|
108 | + 'type' => $entry[ 'type' ], |
|
109 | + 'path' => $entry[ 'path' ], |
|
110 | 110 | ]); |
111 | 111 | }); |
112 | 112 | } |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | |
118 | 118 | $entries = collect(); |
119 | 119 | |
120 | - $files->each(function ($file) use (&$entries) { |
|
120 | + $files->each(function($file) use (&$entries) { |
|
121 | 121 | $entries = $entries |
122 | 122 | ->merge($this->docset->entries($file)) |
123 | 123 | ->unique('name'); |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | { |
131 | 131 | $files = $this->docset->htmlFiles(); |
132 | 132 | |
133 | - $files->each(function ($file) { |
|
133 | + $files->each(function($file) { |
|
134 | 134 | $formattedContent = $this->docset->format(Storage::get($file)); |
135 | 135 | Storage::put($file, $formattedContent); |
136 | 136 | }); |