Skip to content

Commit c09ce93

Browse files
committed
MAGETWO-71174: Update doc block information in php classes with @deprecated and @SInCE tags
- Fix static tests
1 parent 47c3bd0 commit c09ce93

File tree

12 files changed

+20
-15
lines changed

12 files changed

+20
-15
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Indexer/ActiveTableSwitcher.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,17 @@
1212
class ActiveTableSwitcher
1313
{
1414
/**
15-
* @var
15+
* Suffix for replica index table.
16+
*
17+
* @var string
1618
* @since 2.2.0
1719
*/
1820
private $additionalTableSuffix = '_replica';
1921

2022
/**
21-
* @var
23+
* Suffix for outdated index table.
24+
*
25+
* @var string
2226
* @since 2.2.0
2327
*/
2428
private $outdatedTableSuffix = '_outdated';

app/code/Magento/Config/Model/Config/Backend/Admin/Custom.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Custom extends \Magento\Framework\App\Config\Value
5555
const XML_PATH_PAYMENT = 'payment';
5656

5757
/**
58-
* @var
58+
* @var \Magento\Framework\App\Config\Storage\WriterInterface
5959
* @since 2.0.0
6060
*/
6161
protected $_configWriter;

app/code/Magento/Deploy/Model/Filesystem.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,8 @@ protected function changePermissions($directoryCodeList, $dirPermissions, $fileP
350350
* Change permissions on static resources
351351
*
352352
* @return void
353-
* @deprecated 2.1.0 As magento2 doesn't control indirectly the access permissions to the files and directories anymore.
353+
* @deprecated 2.1.0 As magento2 doesn't control indirectly the access permissions to the files
354+
* and directories anymore.
354355
* Access permissions to the files and directories are set during deploy Magento 2, directly after
355356
* uploading code of Magento. Also it is possible to specify the value
356357
* of inverse mask for setting access permissions to files and directories generated by Magento.

app/code/Magento/UrlRewrite/Controller/Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
class Router implements \Magento\Framework\App\RouterInterface
2020
{
2121
/**
22-
* @var
22+
* @var \Magento\Framework\App\ActionFactory
2323
* @since 2.0.0
2424
*/
2525
protected $actionFactory;

app/code/Magento/Webapi/Model/AbstractSchemaGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ abstract class AbstractSchemaGenerator
3737

3838
/**
3939
* @var ServiceMetadata
40-
* @since 2.0.0
40+
* @since 2.0.0
4141
*/
4242
protected $serviceMetadata;
4343

app/code/Magento/Webapi/Model/Rest/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Config
3636
/*#@-*/
3737

3838
/**
39-
* @var
39+
* @var ModelConfig
4040
* @since 2.0.0
4141
*/
4242
protected $_config;

app/code/Magento/Webapi/Model/Soap/Fault.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Fault
4545
/**#@-*/
4646

4747
/**
48-
* @var
48+
* @var string
4949
* @since 2.0.0
5050
*/
5151
protected $_soapFaultCode;

lib/internal/Magento/Framework/App/Response/HeaderProvider/XssProtection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class XssProtection extends AbstractHeaderProvider
1717
{
1818
/**
19-
* @var
19+
* @var string
2020
* @since 2.1.0
2121
*/
2222
protected $headerName = 'X-XSS-Protection';

lib/internal/Magento/Framework/Pricing/Render.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ class Render extends AbstractBlock
3333
const ZONE_EMAIL = 'email';
3434
const ZONE_CART = 'cart';
3535
const ZONE_DEFAULT = null;
36-
3736
/**#@-*/
3837

39-
4038
/**
4139
* Default type renderer
4240
*

lib/internal/Magento/Framework/Setup/FilePermissions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,8 @@ public function getMissingWritableDirectoriesForDbUpgrade()
309309
/**
310310
* Checks writable directories for installation
311311
*
312-
* @deprecated 2.1.0 Use getMissingWritablePathsForInstallation() to get all missing writable paths required for install
312+
* @deprecated 2.1.0 Use getMissingWritablePathsForInstallation()
313+
* to get all missing writable paths required for install.
313314
* @return array
314315
* @since 2.1.0
315316
*/

0 commit comments

Comments
 (0)