rector/patches/symfony-dependency-injection-servicelocator-php.patch
2021-07-05 12:59:59 +02:00

12 lines
245 B
Diff

--- /dev/null
+++ ../ServiceLocator.php
@@ -38,7 +38,7 @@
*
* @return mixed
*/
- public function get($id)
+ public function get(string $id)
{
if (!$this->externalId) {
return $this->doGet($id);