Skip to content

Commit d33034b

Browse files
author
Yevhen Miroshnychenko
committed
MAGETWO-63216: [TD] Fix PHPDoc comments that was delivered in Sprint 4
1 parent 74fdf40 commit d33034b

File tree

11 files changed

+41
-34
lines changed

11 files changed

+41
-34
lines changed

app/code/Magento/Backend/Block/Template.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ public function getFormKey()
6363
}
6464

6565
/**
66-
* Check whether or not the module output is enabled
66+
* Check whether or not the module output is enabled.
6767
*
6868
* Because many module blocks belong to Backend module,
69-
* the feature "Disable module output" doesn't cover Admin area
69+
* the feature "Disable module output" doesn't cover Admin area.
7070
*
7171
* @param string $moduleName Full module name
7272
* @return boolean
73-
* @deprecated because there are tools to change the module state in the admin panel and magento 2 CLI.
73+
* @deprecated was removed from Magento
7474
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
7575
*/
7676
public function isOutputEnabled($moduleName = null)

app/code/Magento/Backend/etc/adminhtml/system.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?xml version="1.0"?>
22
<!--
33
/**
4-
* The module configuration file of Magento_Backend
5-
*
64
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
75
* See COPYING.txt for license details.
86
*/

app/code/Magento/Config/Block/System/Config/Form/Fieldset/Modules/DisableOutput.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
namespace Magento\Config\Block\System\Config\Form\Fieldset\Modules;
77

88
/**
9-
* It displays a list of the inputs with names of the modules on tab Store->Configuration Advanced/Advanced
10-
* on the store settings page
9+
* Displays a list of the inputs with names of the modules on tab Store->Configuration Advanced/Advanced
10+
* on the store settings page.
1111
*
1212
* @method \Magento\Config\Block\System\Config\Form getForm()
13-
* @deprecated because there are tools to change the module state in the admin panel and magento 2 CLI.
13+
* @deprecated was removed from Magento
1414
*/
1515
class DisableOutput extends \Magento\Config\Block\System\Config\Form\Fieldset
1616
{

app/code/Magento/Config/Model/Config/Parser/Comment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function __construct(
8080
* );
8181
* ```
8282
*
83-
* @param string $fileName only basename
83+
* @param string $fileName the basename of file
8484
* @return array
8585
* @throws FileSystemException
8686
*/

app/code/Magento/Deploy/Console/Command/App/SensitiveConfigSet/CollectorInterface.php

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,25 @@
1010
use Symfony\Component\Console\Output\OutputInterface;
1111

1212
/**
13-
* Interface for collection values from user input
13+
* Interface for collection values from user input.
1414
*/
1515
interface CollectorInterface
1616
{
1717
/**
18-
* Collects values from user input and return result as array
18+
* Collects values from user input and return result as array.
1919
*
2020
* @param InputInterface $input
2121
* @param OutputInterface $output
2222
* @param array $configPaths list of available config paths
23-
* @return array
23+
* @return array for example
24+
*
25+
* ```php
26+
* [
27+
* 'some/configuration/path1' => 'someValue1',
28+
* 'some/configuration/path2' => 'someValue2',
29+
* 'some/configuration/path3' => 'someValue3',
30+
* ]
31+
* ```
2432
* @throws LocalizedException
2533
*/
2634
public function getValues(InputInterface $input, OutputInterface $output, array $configPaths);

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ class Filesystem
2323
* File access permissions
2424
*
2525
* @deprecated As magento2 doesn't control indirectly the access permissions to the files anymore.
26-
* Access permissions to the files are set during deploy Magento 2, directly after
27-
* uploading code of Magento. Also it is possible to specify the value
28-
* of inverse mask for setting access permissions to files generated by Magento.
26+
* Access permissions to the files are set during deploy Magento 2, directly after
27+
* uploading code of Magento. Also it is possible to specify the value
28+
* of inverse mask for setting access permissions to files generated by Magento.
2929
* @see http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html.
3030
* @see http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html}.
3131
*/
@@ -35,9 +35,9 @@ class Filesystem
3535
* Directory access permissions
3636
*
3737
* @deprecated As magento2 doesn't control indirectly the access permissions to the directories anymore.
38-
* Access permissions to the directories are set during deploy Magento 2, directly after
39-
* uploading code of Magento. Also it is possible to specify the value
40-
* of inverse mask for setting access permissions to directories generated by Magento.
38+
* Access permissions to the directories are set during deploy Magento 2, directly after
39+
* uploading code of Magento. Also it is possible to specify the value
40+
* of inverse mask for setting access permissions to directories generated by Magento.
4141
* @see http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html umask
4242
* @see http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html}
4343
*/
@@ -215,8 +215,8 @@ private function getUsedLocales()
215215
*
216216
* @return UserCollection
217217
* @deprecated Added to not break backward compatibility of the constructor signature
218-
* by injecting the new dependency directly.
219-
* The method can be removed in a future major release, when constructor signature can be changed
218+
* by injecting the new dependency directly.
219+
* The method can be removed in a future major release, when constructor signature can be changed.
220220
*/
221221
private function getUserCollection()
222222
{
@@ -298,16 +298,16 @@ public function cleanupFilesystem($directoryCodeList)
298298
}
299299

300300
/**
301-
* Change permissions for directories by their code
301+
* Changes permissions for directories by their code.
302302
*
303303
* @param array $directoryCodeList
304304
* @param int $dirPermissions
305305
* @param int $filePermissions
306306
* @return void
307307
* @deprecated As magento2 doesn't control indirectly the access permissions to the files and directories anymore.
308-
* Access permissions to the files and directories are set during deploy Magento 2, directly after
309-
* uploading code of Magento. Also it is possible to specify the value
310-
* of inverse mask for setting access permissions to files and directories generated by Magento.
308+
* Access permissions to the files and directories are set during deploy Magento 2, directly after
309+
* uploading code of Magento. Also it is possible to specify the value
310+
* of inverse mask for setting access permissions to files and directories generated by Magento.
311311
* @see http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
312312
* @see http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html}
313313
*/
@@ -329,9 +329,9 @@ protected function changePermissions($directoryCodeList, $dirPermissions, $fileP
329329
*
330330
* @return void
331331
* @deprecated As magento2 doesn't control indirectly the access permissions to the files and directories anymore.
332-
* Access permissions to the files and directories are set during deploy Magento 2, directly after
333-
* uploading code of Magento. Also it is possible to specify the value
334-
* of inverse mask for setting access permissions to files and directories generated by Magento.
332+
* Access permissions to the files and directories are set during deploy Magento 2, directly after
333+
* uploading code of Magento. Also it is possible to specify the value
334+
* of inverse mask for setting access permissions to files and directories generated by Magento.
335335
* @see http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
336336
* @see http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html}
337337
*/

lib/internal/Magento/Framework/App/Config/CommentParserInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Magento\Framework\Exception\FileSystemException;
99

1010
/**
11-
* Interface of comments parser in the config file
11+
* Interface for parsing comments in the configuration file.
1212
*/
1313
interface CommentParserInterface
1414
{

lib/internal/Magento/Framework/Code/Generator/Io.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Magento\Framework\Exception\FileSystemException;
99

1010
/**
11-
* Writes the generated code
11+
* Manages generated code.
1212
*/
1313
class Io
1414
{

lib/internal/Magento/Framework/Module/Output/Config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
namespace Magento\Framework\Module\Output;
99

1010
/**
11-
* Checks the module configuration
11+
* Checks whether the module is enabled in the configuration.
1212
*
13-
* @deprecated because there are tools to change the module state in the admin panel and magento 2 CLI.
13+
* @deprecated was removed from Magento
1414
*/
1515
class Config implements \Magento\Framework\Module\Output\ConfigInterface
1616
{

lib/internal/Magento/Framework/Module/Output/ConfigInterface.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
namespace Magento\Framework\Module\Output;
77

88
/**
9-
* Interface for classes to check module configuration
10-
* @deprecated because there are tools to change the module state in the admin panel and magento 2 CLI
9+
* Checks whether the module is enabled in the configuration.
10+
*
11+
* @deprecated was removed from Magento
1112
*/
1213
interface ConfigInterface
1314
{

0 commit comments

Comments
 (0)