Skip to content

Commit

Permalink
added stub tag
Browse files Browse the repository at this point in the history
  • Loading branch information
manchenkoff committed Sep 24, 2023
1 parent d91a1ab commit 10edd25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Here is a list of available methods with a quick description:
Also you might want to adjust class template for your needs. You can do it by publishing package views:

```bash
php artisan vendor:publish --provider="Manchenkov\Laravel\Repositories\ServiceProvider"
php artisan vendor:publish --provider="Manchenkov\Laravel\Repositories\ServiceProvider" --tag="stubs"
```

## Development
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function boot(): void
__DIR__ . '/Commands/stubs' => base_path('stubs'),
];

$this->publishes($stubFiles);
$this->publishes($stubFiles, 'stubs');

if ($this->app->runningInConsole()) {
$commands = [
Expand Down

0 comments on commit 10edd25

Please sign in to comment.