Skip to content

Commit f764b3d

Browse files
committed
Fix styling
1 parent e639cd8 commit f764b3d

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

src/LaravelDbDoc.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Bekwoh\LaravelDbDoc;
44

5-
use Illuminate\Support\Facades\Gate;
65
use Illuminate\Support\Facades\Route;
76
use Illuminate\Support\Facades\Storage;
87
use Illuminate\Support\Str;

src/Presentation/AbstractPresenter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function getStub()
3030
{
3131
$path = file_exists(
3232
base_path('stubs/db-doc.stub')
33-
) ? base_path('stubs/db-doc.stub') : __DIR__ . '/../../stubs/db-doc.stub';
33+
) ? base_path('stubs/db-doc.stub') : __DIR__.'/../../stubs/db-doc.stub';
3434

3535
return file_get_contents($path);
3636
}

src/Presentation/Json.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public static function make(array $contents): self
1010
{
1111
return new self($contents);
1212
}
13-
13+
1414
public function getContents()
1515
{
1616
return json_encode($this->contents, JSON_PRETTY_PRINT);

src/Presentation/Markdown.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public static function make(array $contents): self
1111
{
1212
return new self($contents);
1313
}
14-
14+
1515
public function getContents()
1616
{
1717
$contents = $this->contents;

tests/LaravelDbDocTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
it('can generate db doc schema - markdown', function () {
1313
Artisan::call('db:schema');
14-
14+
1515
$this->assertTrue(
1616
Storage::disk(LaravelDbDoc::disk('markdown'))
1717
->exists(LaravelDbDoc::filename('markdown'))
@@ -20,7 +20,7 @@
2020

2121
it('can generate db doc schema - json', function () {
2222
Artisan::call('db:schema --format=json');
23-
23+
2424
$this->assertTrue(
2525
Storage::disk(LaravelDbDoc::disk('json'))
2626
->exists(LaravelDbDoc::filename('json'))

0 commit comments

Comments
 (0)