Skip to content

Commit 8f6e50e

Browse files
authored
Merge pull request #124 from Codeweld/fix/serializer-4-support
Serializer 4 support - readme update
2 parents 152a53d + d693196 commit 8f6e50e

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ This **open-source plugin was developed to help the Sylius community**. If you h
4747

4848
| Plugin version | Sylius version | Supported VSF version |
4949
|:--------------------:|:--------------:|:---------------------:|
50-
| v2.1.0 | 1.8 | 1.12.2 |
50+
| v2.1.1 | 1.8 | 1.12.2 |
5151
| v1.0.0-beta.1 | 1.6 | 1.11.4 |
5252

5353
### Requirements
@@ -74,7 +74,7 @@ Please refer to [Sylius Documentation - How to disable Sylius shop?](https://doc
7474
First, add this plugin as dependency to your Sylius project.
7575

7676
```
77-
$ composer require bitbag/vuestorefront-plugin:v2.1.0
77+
$ composer require bitbag/vuestorefront-plugin:v2.1.1
7878
```
7979

8080
Add the plugin to `config/bundles.php` (if it's not there already):
@@ -403,7 +403,7 @@ To fix it add a following block into your `composer.json` file:
403403
```
404404
Make sure that
405405
```
406-
"bitbag/vuestorefront-plugin": "v2.1.0"
406+
"bitbag/vuestorefront-plugin": "v2.1.1"
407407
```
408408
is present in `require` section in your `composer.json` file and then run:
409409
```

src/Controller/Catalog/GetCatalogAction.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ public function __construct(
5252
bool $ssl,
5353
string $username,
5454
string $password
55-
)
56-
{
55+
) {
5756
$this->host = $host;
5857
$this->port = $port;
5958
$this->transport = $transport;
@@ -72,9 +71,9 @@ public function __invoke(Request $request): Response
7271
'transport' => $this->transport,
7372
'ssl' => $this->ssl,
7473
'username' => $this->username,
75-
'password' => $this->password
74+
'password' => $this->password,
7675
]);
77-
76+
7877
$client->addConnection($connection);
7978

8079
$index = $request->attributes->get('index');

0 commit comments

Comments
 (0)