We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | public function install() |
||
| 44 | { |
||
| 45 | /** @var Page $page */ |
||
| 46 | $page = app(Page::class); |
||
| 47 | |||
| 48 | $page->seo_title = 'News'; |
||
| 49 | $page->slug = 'news'; |
||
| 50 | $page->enabled = true; |
||
| 51 | $page->sitemap = false; |
||
| 52 | $page->plugin = $this->pluginName(); |
||
| 53 | |||
| 54 | // status of the operation |
||
| 55 | return $page->save(); |
||
| 56 | } |
||
| 77 |