Skip to content

Commit 3298a36

Browse files
authored
Merge pull request #28 from phenixphp/release/0.3.8
Release/0.3.8
2 parents 9658da7 + d1df1ff commit 3298a36

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
# Release Notes for 0.3.x
1111

12+
## [v0.3.8 (2023-10-10)](https://github.com/phenixphp/framework/compare/0.3.7...0.3.8)
13+
14+
### Fixed
15+
- Load router on booting. ([#27](https://github.com/phenixphp/framework/pull/27))
16+
1217
## [v0.3.7 (2023-10-10)](https://github.com/phenixphp/framework/compare/0.3.6...0.3.7)
1318

1419
### Added

src/Providers/RouteServiceProvider.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,10 @@
1010

1111
class RouteServiceProvider extends ServiceProvider
1212
{
13-
public function provides(string $id): bool
14-
{
15-
$this->provided = [Route::class];
16-
17-
return $this->isProvided($id);
18-
}
19-
20-
public function register(): void
13+
public function boot(): void
2114
{
2215
$this->bind(Route::class)->setShared(true);
23-
}
2416

25-
public function boot(): void
26-
{
2717
$this->registerControllers();
2818
$this->loadRoutes();
2919
}

0 commit comments

Comments
 (0)