Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Oct 30, 2022
1 parent d3cf12e commit 17281a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ class HydePageDataFactory extends Concerns\PageDataFactory implements PageSchema
private readonly Markdown|false $markdown;
private readonly FrontMatter $matter;

public function __construct(private readonly CoreDataObject $pageData) {
public function __construct(private readonly CoreDataObject $pageData)
{
$this->matter = $this->pageData->matter;
$this->markdown = $this->pageData->markdown;
$this->pageClass = $this->pageData->pageClass;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use function config;
use Hyde\Framework\Concerns\InteractsWithFrontMatter;
use Hyde\Framework\Factories\Concerns\CoreDataObject;
use Hyde\Framework\Features\Navigation\NavigationData;
use Hyde\Markdown\Contracts\FrontMatter\SubSchemas\NavigationSchema;
use Hyde\Markdown\Models\FrontMatter;
use Hyde\Pages\DocumentationPage;
Expand Down Expand Up @@ -46,7 +45,8 @@ class NavigationDataFactory extends Concerns\PageDataFactory implements Navigati
private readonly string $identifier;
private readonly FrontMatter $matter;

public function __construct(CoreDataObject $pageData, string $title) {
public function __construct(CoreDataObject $pageData, string $title)
{
$this->matter = $pageData->matter;
$this->identifier = $pageData->identifier;
$this->pageClass = $pageData->pageClass;
Expand Down

0 comments on commit 17281a7

Please sign in to comment.