@@ -35,9 +35,9 @@ class GeneratorPool
35
35
36
36
/**
37
37
* @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
41
41
*/
42
42
public function __construct (
43
43
ScheduledStructure \Helper $ helper ,
@@ -67,11 +67,10 @@ public function getGenerator($type)
67
67
}
68
68
69
69
/**
70
- * Traverse through all generators and generate all scheduled elements
70
+ * Traverse through all generators and generate all scheduled elements.
71
71
*
72
- * @param Reader\Context $readerContext
72
+ * @param Reader\Context $readerContext
73
73
* @param Generator\Context $generatorContext
74
- *
75
74
* @return $this
76
75
*/
77
76
public function process (Reader \Context $ readerContext , Generator \Context $ generatorContext )
@@ -138,9 +137,9 @@ protected function buildStructure(ScheduledStructure $scheduledStructure, Data\S
138
137
}
139
138
140
139
/**
141
- * Reorder a child of a specified element
140
+ * Reorder a child of a specified element.
142
141
*
143
- * @param ScheduledStructure $scheduledStructure,
142
+ * @param ScheduledStructure $scheduledStructure
144
143
* @param Data\Structure $structure
145
144
* @param string $elementName
146
145
* @return void
@@ -234,6 +233,8 @@ protected function moveElementInStructure(
234
233
}
235
234
236
235
/**
236
+ * Check visibility conditions exists in data.
237
+ *
237
238
* @param array $data
238
239
*
239
240
* @return bool
0 commit comments