Skip to content

Commit

Permalink
Merge pull request #124 from Codeweld/fix/serializer-4-support
Browse files Browse the repository at this point in the history
Serializer 4 support - readme update
  • Loading branch information
Codeweld authored Jan 27, 2021
2 parents 152a53d + d693196 commit 8f6e50e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ This **open-source plugin was developed to help the Sylius community**. If you h

| Plugin version | Sylius version | Supported VSF version |
|:--------------------:|:--------------:|:---------------------:|
| v2.1.0 | 1.8 | 1.12.2 |
| v2.1.1 | 1.8 | 1.12.2 |
| v1.0.0-beta.1 | 1.6 | 1.11.4 |

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

```
$ composer require bitbag/vuestorefront-plugin:v2.1.0
$ composer require bitbag/vuestorefront-plugin:v2.1.1
```

Add the plugin to `config/bundles.php` (if it's not there already):
Expand Down Expand Up @@ -403,7 +403,7 @@ To fix it add a following block into your `composer.json` file:
```
Make sure that
```
"bitbag/vuestorefront-plugin": "v2.1.0"
"bitbag/vuestorefront-plugin": "v2.1.1"
```
is present in `require` section in your `composer.json` file and then run:
```
Expand Down
7 changes: 3 additions & 4 deletions src/Controller/Catalog/GetCatalogAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ public function __construct(
bool $ssl,
string $username,
string $password
)
{
) {
$this->host = $host;
$this->port = $port;
$this->transport = $transport;
Expand All @@ -72,9 +71,9 @@ public function __invoke(Request $request): Response
'transport' => $this->transport,
'ssl' => $this->ssl,
'username' => $this->username,
'password' => $this->password
'password' => $this->password,
]);

$client->addConnection($connection);

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

0 comments on commit 8f6e50e

Please sign in to comment.