| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 32 | 1 | public function getSolution(): Solution |
|
| 33 | { |
||
| 34 | 1 | return BaseSolution::create('The sheet collection is missing') |
|
| 35 | 1 | ->setSolutionDescription("Add `{$this->getCollection()}` collection to your spatie/sheets configuration at `config/sheets.php`.\n```php\nreturn [\n// ...\n'collections' => ['{$this->getCollection()}'],\n// ...\n```") |
|
| 36 | 1 | ->setDocumentationLinks([ |
|
| 37 | 1 | 'Read spatie/sheets "Creating your first collection" documentation' => 'https://github.com/spatie/sheets#creating-your-first-collection', |
|
| 38 | ]); |
||
| 41 |