Skip to content

Commit db99d7f

Browse files
author
Oleksii Korshenko
committed
MAGETWO-83091: Remove "Undefined fields" from under lib folder #11662
- converted properties from protected to private
1 parent 70a4164 commit db99d7f

File tree

8 files changed

+11
-9
lines changed

8 files changed

+11
-9
lines changed

lib/internal/Magento/Framework/Config/FileResolver.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,15 @@ class FileResolver implements \Magento\Framework\Config\FileResolverInterface, D
5555

5656
/**
5757
* @var DirectoryList
58+
* @deprecated Unused class property
5859
*/
59-
protected $directoryList;
60+
private $directoryList;
6061

6162
/**
6263
* @param DirReader $moduleReader
6364
* @param FileIteratorFactory $iteratorFactory
6465
* @param DesignInterface $designInterface
65-
* @param DirectoryList $directoryList
66+
* @param DirectoryList $directoryList @deprecated
6667
* @param Filesystem $filesystem
6768
* @param ResolverInterface $resolver
6869
*/

lib/internal/Magento/Framework/DB/Query/BatchRangeIterator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class BatchRangeIterator implements BatchIteratorInterface
3535

3636
/**
3737
* @var string
38+
* @deprecated unused class property
3839
*/
3940
private $rangeFieldAlias;
4041

@@ -85,7 +86,7 @@ class BatchRangeIterator implements BatchIteratorInterface
8586
* @param int $batchSize
8687
* @param string $correlationName
8788
* @param string|array $rangeField
88-
* @param string $rangeFieldAlias
89+
* @param string $rangeFieldAlias @deprecated
8990
*/
9091
public function __construct(
9192
Select $select,

lib/internal/Magento/Framework/Encryption/Encryptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class Encryptor implements EncryptorInterface
105105
/**
106106
* @var Random
107107
*/
108-
protected $random;
108+
private $random;
109109

110110
/**
111111
* @param Random $random

lib/internal/Magento/Framework/Filesystem/Io/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class File extends AbstractIo
7979
/**
8080
* @var \Exception
8181
*/
82-
protected $_streamException;
82+
private $_streamException;
8383

8484
/**
8585
* Destruct

lib/internal/Magento/Framework/Locale/Resolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class Resolver implements ResolverInterface
5050
/**
5151
* @var string
5252
*/
53-
protected $defaultLocalePath;
53+
private $defaultLocalePath;
5454

5555
/**
5656
* @param ScopeConfigInterface $scopeConfig

lib/internal/Magento/Framework/ObjectManager/Definition/Runtime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Runtime implements \Magento\Framework\ObjectManager\DefinitionInterface
1717
/**
1818
* @var \Magento\Framework\Code\Reader\ClassReaderInterface
1919
*/
20-
protected $_reader;
20+
private $_reader;
2121

2222
/**
2323
* @param \Magento\Framework\Code\Reader\ClassReaderInterface $reader

lib/internal/Magento/Framework/View/Element/UiComponent/Config/DomMerger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class DomMerger implements DomMergerInterface
6161
/**
6262
* @var string
6363
*/
64-
protected $schema;
64+
private $schema;
6565

6666
/**
6767
* Build DOM with initial XML contents and specifying identifier attributes for merging

lib/internal/Magento/Framework/View/Layout/Generator/UiComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class UiComponent implements GeneratorInterface
4545
/**
4646
* @var BlockFactory
4747
*/
48-
protected $blockFactory;
48+
private $blockFactory;
4949

5050
/**
5151
* Constructor

0 commit comments

Comments
 (0)