Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit ca15920

Browse files
MAGETWO-87520: Add missing PHPDocs for methods #13337
2 parents 1dcb55d + 5f2d021 commit ca15920

File tree

6 files changed

+31
-0
lines changed

6 files changed

+31
-0
lines changed

app/code/Magento/Analytics/Model/Connector/Http/JsonConverter.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ class JsonConverter implements ConverterInterface
2222
*/
2323
private $serializer;
2424

25+
/**
26+
* @param Json $serializer
27+
*/
2528
public function __construct(Json $serializer)
2629
{
2730
$this->serializer = $serializer;

app/code/Magento/Indexer/Ui/DataProvider/Indexer/DataCollection.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ class DataCollection extends Collection
2323
*/
2424
private $indexerRegistry;
2525

26+
/**
27+
* @param EntityFactoryInterface $entityFactory
28+
* @param ConfigInterface $config
29+
* @param IndexerRegistry $indexerRegistry
30+
*/
2631
public function __construct(
2732
EntityFactoryInterface $entityFactory,
2833
ConfigInterface $config,

app/code/Magento/InstantPurchase/Controller/Button/PlaceOrder.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,16 @@ class PlaceOrder extends Action
7676
*/
7777
private $orderRepository;
7878

79+
/**
80+
* @param Context $context
81+
* @param StoreManagerInterface $storeManager
82+
* @param Session $customerSession
83+
* @param FormKeyValidator $formKeyValidator
84+
* @param InstantPurchaseOptionLoadingFactory $instantPurchaseOptionLoadingFactory
85+
* @param ProductRepositoryInterface $productRepository
86+
* @param PlaceOrderModel $placeOrder
87+
* @param OrderRepositoryInterface $orderRepository
88+
*/
7989
public function __construct(
8090
Context $context,
8191
StoreManagerInterface $storeManager,

app/code/Magento/InstantPurchase/Model/ShippingMethodChoose/DeferredShippingMethodChooserPool.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ class DeferredShippingMethodChooserPool
1515
{
1616
private $choosers;
1717

18+
/**
19+
* @param DeferredShippingMethodChooserInterface[] $choosers
20+
*/
1821
public function __construct(array $choosers)
1922
{
2023
foreach ($choosers as $chooser) {
@@ -28,6 +31,10 @@ public function __construct(array $choosers)
2831
$this->choosers = $choosers;
2932
}
3033

34+
/**
35+
* @param string $type
36+
* @return DeferredShippingMethodChooserInterface
37+
*/
3138
public function get($type) : DeferredShippingMethodChooserInterface
3239
{
3340
if (!isset($this->choosers[$type])) {

app/code/Magento/ReleaseNotification/Controller/Adminhtml/Notification/MarkUserNotified.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ public function execute()
8585
return $resultJson->setData($responseContent);
8686
}
8787

88+
/**
89+
* @return bool
90+
*/
8891
protected function _isAllowed()
8992
{
9093
return parent::_isAllowed();

app/code/Magento/ReleaseNotification/Model/ContentProvider/Http/UrlBuilder.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ class UrlBuilder
3131
*/
3232
private $config;
3333

34+
/**
35+
* @param ScopeConfigInterface $config
36+
*/
3437
public function __construct(ScopeConfigInterface $config)
3538
{
3639
$this->config = $config;

0 commit comments

Comments
 (0)