Skip to content

Commit d199bb5

Browse files
committed
Pint
1 parent 8788173 commit d199bb5

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

src/Changelog.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ public function raw(): string
2626
$file = $this->path();
2727

2828
if (! file_exists($file)) {
29-
throw new ChangelogNotFoundException();
29+
throw new ChangelogNotFoundException;
3030
}
3131

3232
$contents = file_get_contents($file);
3333
if ($contents === false) {
34-
throw new ChangelogNotFoundException();
34+
throw new ChangelogNotFoundException;
3535
}
3636

3737
return $contents;

src/ChangelogServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function register(): void
2828

2929
// Register the main class to use with the facade
3030
$this->app->singleton('changelog', function () {
31-
return new Changelog();
31+
return new Changelog;
3232
});
3333
}
3434
}

src/Exceptions/ChangelogNotFoundException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@
44

55
use RuntimeException;
66

7-
class ChangelogNotFoundException extends RuntimeException
8-
{
9-
}
7+
class ChangelogNotFoundException extends RuntimeException {}

0 commit comments

Comments
 (0)