Skip to content

Commit d83d387

Browse files
ENGCOM-3525: correct param, var and return annotation values #19325
- Merge Pull Request #19325 from TomasVotruba/magento2:doc - Merged commits: 1. 180de0a 2. bf831c6
2 parents 365e400 + bf831c6 commit d83d387

File tree

38 files changed

+53
-53
lines changed

38 files changed

+53
-53
lines changed

lib/internal/Magento/Framework/Acl/Loader/ResourceLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ResourceLoader implements \Magento\Framework\Acl\LoaderInterface
1717
/**
1818
* Acl resource config
1919
*
20-
* @var ProviderInterface $resourceProvider
20+
* @var ProviderInterface
2121
*/
2222
protected $_resourceProvider;
2323

lib/internal/Magento/Framework/Amqp/Queue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Queue implements QueueInterface
3737
private $envelopeFactory;
3838

3939
/**
40-
* @var LoggerInterface $logger
40+
* @var LoggerInterface
4141
*/
4242
private $logger;
4343

lib/internal/Magento/Framework/Api/SearchCriteria/CollectionProcessor/JoinProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class JoinProcessor implements CollectionProcessorInterface
2828
private $appliedFields = [];
2929

3030
/**
31-
* @param CustomJoinInterface[] $customFilters
31+
* @param CustomJoinInterface[] $customJoins
3232
* @param array $fieldMapping
3333
*/
3434
public function __construct(

lib/internal/Magento/Framework/Api/Test/Unit/ExtensionAttribute/Config/SchemaLocatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class SchemaLocatorTest extends \PHPUnit\Framework\TestCase
1515
*/
1616
protected $model;
1717

18-
/** @var \Magento\Framework\Config\Dom\UrnResolver $urnResolverMock */
18+
/** @var \Magento\Framework\Config\Dom\UrnResolver */
1919
protected $urnResolver;
2020

2121
protected function setUp()

lib/internal/Magento/Framework/App/ResourceConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class ResourceConnection
5353
protected $connectionFactory;
5454

5555
/**
56-
* @var DeploymentConfig $deploymentConfig
56+
* @var DeploymentConfig
5757
*/
5858
private $deploymentConfig;
5959

lib/internal/Magento/Framework/App/Test/Unit/Request/HttpTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ public function testIsAjax()
246246
}
247247

248248
/**
249-
* @param $serverVariables array
250-
* @param $expectedResult string
249+
* @param array $serverVariables
250+
* @param string $expectedResult
251251
* @dataProvider serverVariablesProvider
252252
*/
253253
public function testGetDistroBaseUrl($serverVariables, $expectedResult)
@@ -374,7 +374,7 @@ public function testIsSecure($isSecure, $serverHttps, $headerOffloadKey, $header
374374
/**
375375
* @dataProvider httpSafeMethodProvider
376376
* @backupGlobals enabled
377-
* @param string $method value of $_SERVER['REQUEST_METHOD']
377+
* @param string $httpMethod value of $_SERVER['REQUEST_METHOD']
378378
*/
379379
public function testIsSafeMethodTrue($httpMethod)
380380
{
@@ -386,7 +386,7 @@ public function testIsSafeMethodTrue($httpMethod)
386386
/**
387387
* @dataProvider httpNotSafeMethodProvider
388388
* @backupGlobals enabled
389-
* @param string $method value of $_SERVER['REQUEST_METHOD']
389+
* @param string $httpMethod value of $_SERVER['REQUEST_METHOD']
390390
*/
391391
public function testIsSafeMethodFalse($httpMethod)
392392
{

lib/internal/Magento/Framework/App/Test/Unit/ResourceConnection/Config/SchemaLocatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class SchemaLocatorTest extends \PHPUnit\Framework\TestCase
1313
*/
1414
protected $model;
1515

16-
/** @var \Magento\Framework\Config\Dom\UrnResolver $urnResolverMock */
16+
/** @var \Magento\Framework\Config\Dom\UrnResolver */
1717
protected $urnResolver;
1818

1919
protected function setUp()

lib/internal/Magento/Framework/App/Test/Unit/Route/Config/SchemaLocatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ class SchemaLocatorTest extends \PHPUnit\Framework\TestCase
1212
*/
1313
protected $config;
1414

15-
/** @var \Magento\Framework\Config\Dom\UrnResolver $urnResolverMock */
15+
/** @var \Magento\Framework\Config\Dom\UrnResolver */
1616
protected $urnResolver;
1717

18-
/** @var \Magento\Framework\Config\Dom\UrnResolver $urnResolverMock */
18+
/** @var \Magento\Framework\Config\Dom\UrnResolver */
1919
protected $urnResolverMock;
2020

2121
protected function setUp()

lib/internal/Magento/Framework/App/Utility/Classes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public static function getVirtualClasses()
236236
/**
237237
* Check if instance is virtual type
238238
*
239-
* @param $className string
239+
* @param string $className
240240
* @return bool
241241
*/
242242
public static function isVirtual($className)

lib/internal/Magento/Framework/Cache/Test/Unit/Backend/Decorator/DecoratorAbstractTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function testConstructor()
5454
}
5555

5656
/**
57-
* @param array options
57+
* @param array $options
5858
* @expectedException \Zend_Cache_Exception
5959
* @dataProvider constructorExceptionDataProvider
6060
*/

0 commit comments

Comments
 (0)