@@ -239,11 +239,11 @@ |
||
239 | 239 | // Add ignore attribute to all nodes that don't need to be generated |
240 | 240 | foreach ($layout->getNode() as $node) { |
241 | 241 | $attributes = $node->attributes(); |
242 | - if ((bool)$attributes->ignore) { |
|
242 | + if ((bool) $attributes->ignore) { |
|
243 | 243 | continue; |
244 | - } elseif ($node->getName() == 'block' && !in_array($attributes->name, $globalBlocks)) { |
|
244 | + } elseif ($node->getName() == 'block' && ! in_array($attributes->name, $globalBlocks)) { |
|
245 | 245 | $node->addAttribute('ignore', true); |
246 | - } elseif ($node->getName() == 'reference' && !in_array($attributes->name, $nodesToGenerate)) { |
|
246 | + } elseif ($node->getName() == 'reference' && ! in_array($attributes->name, $nodesToGenerate)) { |
|
247 | 247 | $node->addAttribute('ignore', true); |
248 | 248 | } |
249 | 249 | } |