Skip to content

Commit 7d53a83

Browse files
committed
Fixes on readme code block declarations
1 parent da6b43a commit 7d53a83

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
Using [composer](https://getcomposer.org/download/)
1515

16-
````
16+
```bash
1717
composer require antidot-fw/event-dispatcher
18-
````
18+
```
1919

2020
### Using [Laminas config Aggregator](https://docs.laminas.dev/laminas-config-aggregator/)
2121

@@ -27,7 +27,7 @@ it install the library automatically
2727

2828
#### Config
2929

30-
````php
30+
```php
3131
<?php
3232
/** @var \Psr\Container\ContainerInterface $container */
3333
$container->set('config', [
@@ -41,10 +41,10 @@ $container->set('config', [
4141
]
4242
]
4343
]);
44-
````
44+
```
4545
#### factory
4646

47-
````php
47+
```php
4848
<?php
4949

5050
use Antidot\Event\Container\EventDispatcherFactory;
@@ -54,17 +54,15 @@ $factory = new EventDispatcherFactory();
5454

5555
$eventDispatcher = $factory->__invoke($container);
5656
$container->set(EventDispatcherInterface::class, $eventDispatcher);
57-
````
57+
```
5858

5959
#### Async Event Dispatcher Factory
6060

61-
62-
6361
```bash
6462
composer require react/event-loop
6563
```
6664

67-
````php
65+
```php
6866
<?php
6967

7068
use Antidot\Event\Container\AsyncEventDispatcherFactory;
@@ -74,7 +72,7 @@ $factory = new AsyncEventDispatcherFactory();
7472

7573
$eventDispatcher = $factory->__invoke($container);
7674
$container->set(EventDispatcherInterface::class, $eventDispatcher);
77-
````
75+
```
7876

7977
## Usage
8078

0 commit comments

Comments
 (0)