Skip to content

Commit bfb8041

Browse files
Merge pull request #57 from hexadog/develop
Develop
2 parents ffd9344 + 3e8e8d2 commit bfb8041

File tree

4 files changed

+2
-45
lines changed

4 files changed

+2
-45
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<!-- omit in toc -->
2020
## Installation
21-
This package requires PHP 7.3 and Laravel 7.0 or higher.
21+
This package requires PHP 7.4 and Laravel 7.0 or higher.
2222

2323
To get started, install Themes Manager using Composer:
2424
```shell

src/Console/Commands/Cache.php

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/Providers/PackageServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ protected function strapCommands()
115115
{
116116
if ($this->app->runningInConsole() || 'testing' == config('app.env')) {
117117
$this->commands([
118-
Commands\Cache::class,
119118
Commands\ClearCache::class,
120119
Commands\ListThemes::class,
121120
Generators\MakeTheme::class,

src/Traits/HasCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function clearCache(): bool
2727
protected function getCache(): Collection
2828
{
2929
return Cache::remember(Config::get('themes-manager.cache.key', 'themes-manager'), Config::get('themes-manager.cache.lifetime', 86400), function () {
30-
return ThemeFinder::find(Config::get('themes-manager.directory', 'themes'));
30+
return ThemeFinder::find();
3131
});
3232
}
3333
}

0 commit comments

Comments
 (0)