Skip to content

Commit

Permalink
remove final from public function set() to allow override
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Apr 7, 2022
1 parent a92f388 commit 5941c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/symfony-dependency-injection.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @param string|null $class The class of the service, or null when $id is also the class name
*/
- final public function set(?string $id, string $class = null): ServiceConfigurator
+ final public function set(?string $id, string $class = null): \Rector\Core\DependencyInjection\Loader\Configurator\RectorServiceConfigurator
+ public function set(?string $id, string $class = null): \Rector\Core\DependencyInjection\Loader\Configurator\RectorServiceConfigurator
{
$defaults = $this->defaults;
$definition = new Definition();
Expand Down

0 comments on commit 5941c36

Please sign in to comment.