Skip to content

Commit

Permalink
🔃 [EngCom] Public Pull Requests - 2.3-develop
Browse files Browse the repository at this point in the history
Accepted Public Pull Requests:
 - #15944: [Forwardport] Wrong annotation in _toOptionArray : lib\internal\Magento\Framework\D� (by @vgelani)
 - #15946: [Forwardport] ISSUE-11477 - fixed Swagger response for searchCriteria - added zero � (by @vgelani)
 - #15948: [Forwardport]No need to pass method parameter as method definition does not requir� (by @saurabh-aureate)


Fixed GitHub Issues:
 - #11477: Magento REST API Schema (Swagger) is not compatible with Search Criteria (reported by @careys7) has been fixed in #15946 by @vgelani in 2.3-develop branch
   Related commits:
     1. d76fe20
  • Loading branch information
magento-engcom-team authored Jun 11, 2018
2 parents 33393e2 + 49ce545 commit 55256fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/code/Magento/UrlRewrite/Block/Catalog/Product/Edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected function _prepareLayoutFeatures()
}

if ($this->_getProduct()->getId()) {
$this->_addProductLinkBlock($this->_getProduct());
$this->_addProductLinkBlock();
}

if ($this->_getCategory()->getId()) {
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Webapi/Model/Rest/Swagger/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Generator extends AbstractSchemaGenerator
const UNAUTHORIZED_DESCRIPTION = '401 Unauthorized';

/** Array signifier */
const ARRAY_SIGNIFIER = '[]';
const ARRAY_SIGNIFIER = '[0]';

/**
* Swagger factory instance.
Expand Down
4 changes: 2 additions & 2 deletions lib/internal/Magento/Framework/Data/SearchResultProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ public function toArray($arrRequiredFields = [])
}

/**
* @param null $valueField
* @param null $labelField
* @param string|null $valueField
* @param string|null $labelField
* @param array $additional
* @return array
*/
Expand Down

0 comments on commit 55256fa

Please sign in to comment.