Skip to content

Commit a977f44

Browse files
committed
linting fixes
Signed-off-by: bidi <bidi@apidemia.com>
1 parent febe856 commit a977f44

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

docs/book/v1/other/config-provider/benefits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Benefits
1+
# Benefits
22

33
- **Centralized setup** – Instead of hardcoding bootstrap code, you declare it in a config provider so it's easy to read, change, or extend.
44
- **Modular** – Each package can ship with its own config without interfering with others.

docs/book/v1/other/config-provider/functionality.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## How the ConfigProvider works
1+
# How the ConfigProvider works
22

33
The ConfigProvider is automatically picked up by the framework during application bootstrap.
44
Let's look at it step by step:

docs/book/v1/other/config-provider/introduction.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ class ConfigProvider
2424
public function getDependencies(): array
2525
{
2626
return [
27-
'factories' => [
28-
Handler\HomepageHandler::class => Handler\HomepageHandlerFactory::class,
29-
Handler\SearchHandler::class => Handler\SearchHandlerFactory::class,
30-
],
31-
'invokables' => [
32-
Console\GenerateSearchData::class => Console\GenerateSearchData::class,
27+
'factories' => [
28+
Handler\HomepageHandler::class => Handler\HomepageHandlerFactory::class,
29+
Handler\SearchHandler::class => Handler\SearchHandlerFactory::class,
30+
],
31+
'invokables' => [
32+
Console\GenerateSearchData::class => Console\GenerateSearchData::class,
3333
],
3434
];
3535
}
3636

3737
public function getTemplates(): array
3838
{
3939
return [
40-
'app' => [__DIR__ . '/../templates/app'],
41-
'error' => [__DIR__ . '/../templates/error'],
40+
'app' => [__DIR__ . '/../templates/app'],
41+
'error' => [__DIR__ . '/../templates/error'],
4242
];
4343
}
4444
}

0 commit comments

Comments
 (0)