@@ -26,5 +26,5 @@ |
||
26 | 26 | /** |
27 | 27 | * @var bool Whether to include the container. |
28 | 28 | */ |
29 | - public $include; |
|
29 | + public $include; |
|
30 | 30 | } |
@@ -77,20 +77,20 @@ |
||
77 | 77 | /** |
78 | 78 | * @inheritdoc |
79 | 79 | */ |
80 | - public function prepForInclusion(): bool |
|
81 | - { |
|
82 | - $include = $this->include; |
|
83 | - if ($include) { |
|
84 | - $include = Dependency::validateDependencies($this->dependencies); |
|
85 | - } |
|
86 | - |
|
87 | - $event = new IncludeContainerEvent([ |
|
88 | - 'include' => $include, |
|
89 | - ]); |
|
90 | - $this->trigger(self::EVENT_INCLUDE_CONTAINER, $event); |
|
91 | - |
|
92 | - return $event->include; |
|
93 | - } |
|
80 | + public function prepForInclusion(): bool |
|
81 | + { |
|
82 | + $include = $this->include; |
|
83 | + if ($include) { |
|
84 | + $include = Dependency::validateDependencies($this->dependencies); |
|
85 | + } |
|
86 | + |
|
87 | + $event = new IncludeContainerEvent([ |
|
88 | + 'include' => $include, |
|
89 | + ]); |
|
90 | + $this->trigger(self::EVENT_INCLUDE_CONTAINER, $event); |
|
91 | + |
|
92 | + return $event->include; |
|
93 | + } |
|
94 | 94 | |
95 | 95 | /** |
96 | 96 | * @inheritdoc |