Skip to content

Commit 2543ff4

Browse files
author
Stanislav Idolov
authored
ENGCOM-1667: Missing PHPDoc comment #15498
2 parents b9f4253 + 99cdd8c commit 2543ff4

File tree

8 files changed

+27
-1
lines changed

8 files changed

+27
-1
lines changed

app/code/Magento/CatalogGraphQl/Model/Layer/CollectionProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ class CollectionProvider implements \Magento\Catalog\Model\Layer\ItemCollectionP
2929
*/
3030
private $collectionProcessor;
3131

32+
/**
33+
* @param \Magento\Framework\Api\SearchCriteria\CollectionProcessorInterface $collectionProcessor
34+
* @param \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $collectionFactory
35+
*/
3236
public function __construct(
3337
\Magento\Framework\Api\SearchCriteria\CollectionProcessorInterface $collectionProcessor,
3438
\Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $collectionFactory

app/code/Magento/NewRelicReporting/Model/Observer/ReportApplicationHandledExceptionToNewRelic.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ public function __construct(
3737
$this->newRelicWrapper = $newRelicWrapper;
3838
}
3939

40+
/**
41+
* @param Observer $observer
42+
*/
4043
public function execute(Observer $observer)
4144
{
4245
if ($this->config->isNewRelicEnabled()) {

app/code/Magento/Sales/Setup/SalesSetup.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,9 @@ public function getEncryptor()
303303
return $this->encryptor;
304304
}
305305

306+
/**
307+
* @return \Magento\Framework\DB\Adapter\AdapterInterface
308+
*/
306309
public function getConnection()
307310
{
308311
return $this->getSetup()->getConnection(self::$connectionName);

lib/internal/Magento/Framework/Exception/AbstractAggregateException.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ public function addError(Phrase $phrase)
7878
return $this;
7979
}
8080

81+
/**
82+
* @param LocalizedException $exception
83+
* @return $this
84+
*/
8185
public function addException(LocalizedException $exception)
8286
{
8387
$this->addErrorCalls++;

lib/internal/Magento/Framework/GraphQl/Query/Resolver/Argument/Filter/Operator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static function getOperators() : array
6565
return $type->getConstants();
6666
}
6767

68-
/*
68+
/**
6969
* Convert operator to string
7070
*
7171
* @return string

lib/internal/Magento/Framework/Webapi/Test/Unit/ServiceInputProcessor/SimpleConstructor.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ class SimpleConstructor
1919
*/
2020
private $name;
2121

22+
/**
23+
* @param int $entityId
24+
* @param string $name
25+
*/
2226
public function __construct(
2327
int $entityId,
2428
string $name

setup/src/Magento/Setup/Console/Command/GenerateFixturesCommand.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ private function clearChangelog()
157157
}
158158
}
159159

160+
/**
161+
* @param \Magento\Setup\Fixtures\Fixture $fixture
162+
* @param OutputInterface $output
163+
*/
160164
private function executeFixture(\Magento\Setup\Fixtures\Fixture $fixture, OutputInterface $output)
161165
{
162166
$output->write('<info>' . $fixture->getActionTitle() . '... </info>');

setup/src/Magento/Setup/Console/Style/MagentoStyle.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,10 @@ private function autoPrependText()
518518
}
519519
}
520520

521+
/**
522+
* @param array $messages
523+
* @return array
524+
*/
521525
private function reduceBuffer($messages)
522526
{
523527
// We need to know if the two last chars are PHP_EOL

0 commit comments

Comments
 (0)