Skip to content

Commit a27c3e0

Browse files
committed
static test fix
1 parent 90eff3a commit a27c3e0

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

lib/internal/Magento/Framework/View/Layout/GeneratorPool.php

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ class GeneratorPool
3535

3636
/**
3737
* @param ScheduledStructure\Helper $helper
38-
* @param ConditionFactory $conditionFactory
39-
* @param \Psr\Log\LoggerInterface $logger
40-
* @param array $generators
38+
* @param ConditionFactory $conditionFactory
39+
* @param \Psr\Log\LoggerInterface $logger
40+
* @param array|null $generators
4141
*/
4242
public function __construct(
4343
ScheduledStructure\Helper $helper,
@@ -67,11 +67,10 @@ public function getGenerator($type)
6767
}
6868

6969
/**
70-
* Traverse through all generators and generate all scheduled elements
70+
* Traverse through all generators and generate all scheduled elements.
7171
*
72-
* @param Reader\Context $readerContext
72+
* @param Reader\Context $readerContext
7373
* @param Generator\Context $generatorContext
74-
*
7574
* @return $this
7675
*/
7776
public function process(Reader\Context $readerContext, Generator\Context $generatorContext)
@@ -138,9 +137,9 @@ protected function buildStructure(ScheduledStructure $scheduledStructure, Data\S
138137
}
139138

140139
/**
141-
* Reorder a child of a specified element
140+
* Reorder a child of a specified element.
142141
*
143-
* @param ScheduledStructure $scheduledStructure,
142+
* @param ScheduledStructure $scheduledStructure
144143
* @param Data\Structure $structure
145144
* @param string $elementName
146145
* @return void
@@ -234,6 +233,8 @@ protected function moveElementInStructure(
234233
}
235234

236235
/**
236+
* Check visibility conditions exists in data.
237+
*
237238
* @param array $data
238239
*
239240
* @return bool

0 commit comments

Comments
 (0)