Passed
Pull Request — v3 (#250)
by Timothy
05:37
created
src/events/IncludeContainerEvent.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,5 +26,5 @@
 block discarded – undo
26 26
     /**
27 27
      * @var bool Whether to include the container.
28 28
      */
29
-     public $include;
29
+        public $include;
30 30
 }
Please login to merge, or discard this patch.
src/base/Container.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -77,20 +77,20 @@
 block discarded – undo
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
Please login to merge, or discard this patch.