Skip to content

Commit

Permalink
Format to PSR2
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Mar 25, 2022
1 parent eaba9da commit 8307b65
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/Commands/HydePublishViewsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,4 @@ protected function publishableChoices()
))
);
}

}
14 changes: 9 additions & 5 deletions src/Commands/PublishStubsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,15 @@ public function handle(): int

// Note that this overwrites existing files, though since this command should never be run
// outside of testing I think it's okay.
copy(Hyde::path('vendor/hyde/framework/resources/views/homepages/post-feed.blade.php'),
Hyde::path('resources/views/pages/index.blade.php'));

copy(Hyde::path('vendor/hyde/framework/resources/views/pages/404.blade.php'),
Hyde::path('resources/views/pages/404.blade.php'));
copy(
Hyde::path('vendor/hyde/framework/resources/views/homepages/post-feed.blade.php'),
Hyde::path('resources/views/pages/index.blade.php')
);

copy(
Hyde::path('vendor/hyde/framework/resources/views/pages/404.blade.php'),
Hyde::path('resources/views/pages/404.blade.php')
);

$this->info('Done!');

Expand Down
1 change: 0 additions & 1 deletion src/Models/DocumentationPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,4 @@ public function __construct(string $slug, string $title, string $content)
$this->title = $title;
$this->content = $content;
}

}
1 change: 0 additions & 1 deletion src/Models/MarkdownPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,4 @@ public function __construct(string $slug, string $title, string $content)
$this->title = $title;
$this->content = $content;
}

}

0 comments on commit 8307b65

Please sign in to comment.