Skip to content

Commit c3ba590

Browse files
Grigorii DucaStyleCIBot
Grigorii Duca
authored andcommitted
Apply fixes from StyleCI
1 parent 91fd851 commit c3ba590

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/IoCContainer.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class IoCContainer
1515

1616
private $concrete = [];
1717

18-
// private $aliases = [];
18+
// private $aliases = [];
1919

2020
public function __construct(array $prefixes = [], array $suffixes = [])
2121
{
@@ -101,9 +101,9 @@ public function inject(string $abstract, $concrete, ...$arguments)
101101
throw new \Exception('Unknown concrete type for abstract `' . $abstract . '`.');
102102
}
103103

104-
// if (class_exists($abstract) and $abstractAliases = Obj::typeAliases($abstract, false)) {
105-
// $this->aliases = array_merge($this->aliases, array_fill_keys($abstractAliases, $abstract));
106-
// }
104+
// if (class_exists($abstract) and $abstractAliases = Obj::typeAliases($abstract, false)) {
105+
// $this->aliases = array_merge($this->aliases, array_fill_keys($abstractAliases, $abstract));
106+
// }
107107

108108
return $this;
109109
}

0 commit comments

Comments
 (0)