Skip to content

Commit

Permalink
Api interfaces return fix for proper functioning of swagger (DivanteL…
Browse files Browse the repository at this point in the history
…td#22)

* Api interfaces return fix for proper functioning of swagger

* CHANGELOG.md added
  • Loading branch information
maciejtrybula authored Apr 10, 2020
1 parent 9d8c019 commit ffa97ef
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Api/Queue/AssetQueueImporterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface AssetQueueImporterInterface
*
* @param AssetQueueInterface $data
*
* @return array
* @return string[]
*/
public function insertOrUpdate(AssetQueueInterface $data): array;

Expand All @@ -31,7 +31,7 @@ public function insertOrUpdate(AssetQueueInterface $data): array;
*
* @param int $assetId
*
* @return array
* @return string[]
*/
public function delete(int $assetId): array;
}
4 changes: 2 additions & 2 deletions Api/Queue/CategoryQueueImporterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface CategoryQueueImporterInterface
*
* @param CategoryQueueInterface $data
*
* @return array
* @return string[]
*/
public function insertOrUpdate(CategoryQueueInterface $data): array;

Expand All @@ -31,7 +31,7 @@ public function insertOrUpdate(CategoryQueueInterface $data): array;
*
* @param int $categoryId
*
* @return array
* @return string[]
*/
public function delete(int $categoryId): array;
}
4 changes: 2 additions & 2 deletions Api/Queue/ProductQueueImporterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface ProductQueueImporterInterface
*
* @param ProductQueueInterface $data
*
* @return array
* @return string[]
*/
public function insertOrUpdate(ProductQueueInterface $data): array;

Expand All @@ -31,7 +31,7 @@ public function insertOrUpdate(ProductQueueInterface $data): array;
*
* @param int $productId
*
* @return array
* @return string[]
*/
public function delete(int $productId): array;
}
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
1.0.5.4
=============
* GitHub PR:
* [#22](https://github.com/DivanteLtd/magento2-pimcore-bridge/pull/22) -- Api interfaces return fix for proper functioning of swagger

1.0.5.3
=============
* GitHub PR:
* [#21](https://github.com/DivanteLtd/magento2-pimcore-bridge/pull/21) -- Commands dependencies changes to factories

1.0.5.2
=============
* Module name change for Packagist connections
* Magento2 version compatibility update

1.0.5.1
=============
* Update version to work with new Pimcore

1.0.4.13
=============
* Initial commit
4 changes: 2 additions & 2 deletions Queue/Importer/AssetQueueImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function __construct(
*
* @param AssetQueueInterface $data
*
* @return array
* @return string[]
*/
public function insertOrUpdate(AssetQueueInterface $data): array
{
Expand All @@ -87,7 +87,7 @@ public function insertOrUpdate(AssetQueueInterface $data): array
* @param int $queueId
*
* @throws InvalidQueueTypeException
* @return array
* @return string[]
*/
public function delete(int $queueId): array
{
Expand Down
4 changes: 2 additions & 2 deletions Queue/Importer/CategoryQueueImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function __construct(
*
* @param CategoryQueueInterface $data
*
* @return array
* @return string[]
*/
public function insertOrUpdate(CategoryQueueInterface $data): array
{
Expand All @@ -87,7 +87,7 @@ public function insertOrUpdate(CategoryQueueInterface $data): array
* @param int $categoryId
*
* @throws \Divante\PimcoreIntegration\Exception\InvalidQueueTypeException
* @return array
* @return string[]
*/
public function delete(int $categoryId): array
{
Expand Down
4 changes: 2 additions & 2 deletions Queue/Importer/ProductQueueImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function __construct(
*
* @param ProductQueueInterface $data
*
* @return array
* @return string[]
*/
public function insertOrUpdate(ProductQueueInterface $data): array
{
Expand All @@ -86,7 +86,7 @@ public function insertOrUpdate(ProductQueueInterface $data): array
* @param int $productId
*
* @throws \Divante\PimcoreIntegration\Exception\InvalidQueueTypeException
* @return array
* @return string[]
*/
public function delete(int $productId): array
{
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "divante-ltd/module-pimcore-integration",
"description": "Magento-Pimcore bridge module.",
"version": "1.0.5.3",
"version": "1.0.5.4",
"require": {
"magento/product-community-edition": "^2.2 || ^2.3"
},
Expand Down

0 comments on commit ffa97ef

Please sign in to comment.