Skip to content

Commit 342bad9

Browse files
authored
Fix: Remove unused method (#736)
1 parent 0f704c8 commit 342bad9

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

roave-bc-check.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ parameters:
3838
- '#\[BC\] REMOVED: Class Faker\\Extension\\ContainerException has been deleted#'
3939
- '#\[BC\] REMOVED: Class Faker\\Extension\\NotInContainerException has been deleted#'
4040
- '#\[BC\] REMOVED: Method Faker\\Container\\Container\#getDefinitions\(\) was removed#'
41+
- '#\[BC\] REMOVED: Method Faker\\Container\\ContainerBuilder::getDefault\(\) was removed#'
4142
- '#\[BC\] REMOVED: Method Faker\\Container\\ContainerBuilder\::defaultExtensions\(\) was removed#'
4243
- '#\[BC\] REMOVED: Method Faker\\Container\\ContainerInterface\#getDefinitions\(\) was removed#'
4344
- '#\[BC\] REMOVED: Method Faker\\Core\\DateTime\#getDefaultTimezone\(\) was removed#'

src/Faker/Container/ContainerBuilder.php

-5
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,4 @@ public static function withDefaultExtensions(): self
6565

6666
return $instance;
6767
}
68-
69-
public static function getDefault(): ContainerInterface
70-
{
71-
return self::withDefaultExtensions()->build();
72-
}
7368
}

0 commit comments

Comments
 (0)