mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 17:00:51 +00:00
12 lines
299 B
Diff
12 lines
299 B
Diff
--- /dev/null
|
|
+++ ../Argument/ServiceLocator.php
|
|
@@ -37,7 +37,7 @@
|
|
*
|
|
* @return mixed
|
|
*/
|
|
- public function get($id)
|
|
+ public function get(string $id)
|
|
{
|
|
return isset($this->serviceMap[$id]) ? ($this->factory)(...$this->serviceMap[$id]) : parent::get($id);
|
|
}
|