Skip to content

Missing PHPDoc comment #15498

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ class CollectionProvider implements \Magento\Catalog\Model\Layer\ItemCollectionP
*/
private $collectionProcessor;

/**
* @param \Magento\Framework\Api\SearchCriteria\CollectionProcessorInterface $collectionProcessor
* @param \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $collectionFactory
*/
public function __construct(
\Magento\Framework\Api\SearchCriteria\CollectionProcessorInterface $collectionProcessor,
\Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $collectionFactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public function __construct(
$this->newRelicWrapper = $newRelicWrapper;
}

/**
* @param Observer $observer
*/
public function execute(Observer $observer)
{
if ($this->config->isNewRelicEnabled()) {
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/Sales/Setup/SalesSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,9 @@ public function getEncryptor()
return $this->encryptor;
}

/**
* @return \Magento\Framework\DB\Adapter\AdapterInterface
*/
public function getConnection()
{
return $this->getSetup()->getConnection(self::$connectionName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ public function addError(Phrase $phrase)
return $this;
}

/**
* @param LocalizedException $exception
* @return $this
*/
public function addException(LocalizedException $exception)
{
$this->addErrorCalls++;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static function getOperators() : array
return $type->getConstants();
}

/*
/**
* Convert operator to string
*
* @return string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ class SimpleConstructor
*/
private $name;

/**
* @param int $entityId
* @param string $name
*/
public function __construct(
int $entityId,
string $name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ private function clearChangelog()
}
}

/**
* @param \Magento\Setup\Fixtures\Fixture $fixture
* @param OutputInterface $output
*/
private function executeFixture(\Magento\Setup\Fixtures\Fixture $fixture, OutputInterface $output)
{
$output->write('<info>' . $fixture->getActionTitle() . '... </info>');
Expand Down
4 changes: 4 additions & 0 deletions setup/src/Magento/Setup/Console/Style/MagentoStyle.php
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,10 @@ private function autoPrependText()
}
}

/**
* @param array $messages
* @return array
*/
private function reduceBuffer($messages)
{
// We need to know if the two last chars are PHP_EOL
Expand Down