Skip to content

Commit b672f11

Browse files
committed
Fix styling
1 parent 5938677 commit b672f11

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

src/Contracts/Presenter.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22

33
namespace Bekwoh\LaravelDbDoc\Contracts;
44

5-
interface Presenter {
5+
interface Presenter
6+
{
67
public function getDisk();
8+
79
public function getFilename();
10+
811
public function getContents();
12+
913
public function getStub();
14+
1015
public function write();
16+
1117
public function read();
12-
}
18+
}

src/Presentation/AbstractPresenter.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use Bekwoh\LaravelDbDoc\Contracts\Presenter;
66
use Bekwoh\LaravelDbDoc\Facades\LaravelDbDoc;
77
use Illuminate\Support\Facades\Storage;
8-
use Illuminate\Support\Str;
98

109
abstract class AbstractPresenter implements Presenter
1110
{
@@ -17,12 +16,12 @@ public function __construct(protected array $contents)
1716

1817
public function getDisk()
1918
{
20-
return LaravelDbDoc::disk(strtolower(basename(__CLASS__));
19+
return LaravelDbDoc::disk(strtolower(basename(__CLASS__)));
2120
}
2221

2322
public function getFilename()
2423
{
25-
return LaravelDbDoc::filename(strtolower(basename(__CLASS__));
24+
return LaravelDbDoc::filename(strtolower(basename(__CLASS__)));
2625
}
2726

2827
public function getStub()

0 commit comments

Comments
 (0)