Skip to content

Commit f6cb17e

Browse files
committed
Publish Stubs for One PHP Version Only
1 parent d2707c0 commit f6cb17e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DatabaseRepositoryServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function offerPublishing(): void
4040
], 'repository-config');
4141

4242
$this->publishes([
43-
__DIR__ . '/stubs' => $this->app->basePath('stubs/repository'),
43+
__DIR__ . '/stubs/PHP'.env('REPOSITORY_PHP_VERSION', '8.0') => $this->app->basePath('stubs'),
4444
], 'repository-stubs');
4545
}
4646
}

0 commit comments

Comments
 (0)