Skip to content

Commit

Permalink
Fix: Remove unused method (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored Sep 5, 2023
1 parent 0f704c8 commit 342bad9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions roave-bc-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ parameters:
- '#\[BC\] REMOVED: Class Faker\\Extension\\ContainerException has been deleted#'
- '#\[BC\] REMOVED: Class Faker\\Extension\\NotInContainerException has been deleted#'
- '#\[BC\] REMOVED: Method Faker\\Container\\Container\#getDefinitions\(\) was removed#'
- '#\[BC\] REMOVED: Method Faker\\Container\\ContainerBuilder::getDefault\(\) was removed#'
- '#\[BC\] REMOVED: Method Faker\\Container\\ContainerBuilder\::defaultExtensions\(\) was removed#'
- '#\[BC\] REMOVED: Method Faker\\Container\\ContainerInterface\#getDefinitions\(\) was removed#'
- '#\[BC\] REMOVED: Method Faker\\Core\\DateTime\#getDefaultTimezone\(\) was removed#'
Expand Down
5 changes: 0 additions & 5 deletions src/Faker/Container/ContainerBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,4 @@ public static function withDefaultExtensions(): self

return $instance;
}

public static function getDefault(): ContainerInterface
{
return self::withDefaultExtensions()->build();
}
}

0 comments on commit 342bad9

Please sign in to comment.