rector/patches/symfony-dependency-injection-argument-servicelocator-php.patch
2021-07-05 17:22:32 +02:00

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);
}