File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
lib/internal/Magento/Framework/DB
setup/src/Magento/Setup/Model Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,13 @@ class FieldDataConverter
62
62
* @param Generator $queryGenerator
63
63
* @param DataConverterInterface $dataConverter
64
64
* @param SelectFactory|null $selectFactory
65
- * @param string $envBatchSize
65
+ * @param string|null $envBatchSize
66
66
*/
67
67
public function __construct (
68
68
Generator $ queryGenerator ,
69
69
DataConverterInterface $ dataConverter ,
70
70
SelectFactory $ selectFactory ,
71
- $ envBatchSize
71
+ $ envBatchSize = null
72
72
) {
73
73
$ this ->queryGenerator = $ queryGenerator ;
74
74
$ this ->dataConverter = $ dataConverter ;
Original file line number Diff line number Diff line change @@ -57,11 +57,10 @@ public function __construct(
57
57
public function get ()
58
58
{
59
59
if (null === $ this ->objectManager ) {
60
- $ initParams =
61
- array_merge (
62
- $ this ->serviceLocator ->get (InitParamListener::BOOTSTRAP_PARAM ),
63
- $ _SERVER
64
- );
60
+ $ initParams = array_merge (
61
+ $ this ->serviceLocator ->get (InitParamListener::BOOTSTRAP_PARAM ),
62
+ $ _SERVER
63
+ );
65
64
$ factory = $ this ->getObjectManagerFactory ($ initParams );
66
65
$ this ->objectManager = $ factory ->create ($ initParams );
67
66
if (PHP_SAPI == 'cli ' ) {
You can’t perform that action at this time.
0 commit comments