Skip to content

Commit

Permalink
Fix: Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Sep 4, 2023
1 parent 6c3a043 commit 73231b6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
2 changes: 2 additions & 0 deletions roave-bc-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ parameters:
- '#\[BC\] CHANGED: The number of required arguments for Faker\\Container\\ContainerBuilder\#add\(\) increased from 1 to 2#'
- '#\[BC\] CHANGED: The parameter \$name of Faker\\Container\\ContainerBuilder\#add\(\) changed from string\|null to a non-contravariant string#'
- '#\[BC\] CHANGED: The parameter \$value of Faker\\Container\\ContainerBuilder\#add\(\) changed from no type to a non-contravariant string#'
- '#\[BC\] REMOVED: Method Faker\\Container\\ContainerInterface\#getDefinitions\(\) was removed#'
- '#\[BC\] REMOVED: Method Faker\\Container\\Container\#getDefinitions\(\) was removed#'
8 changes: 0 additions & 8 deletions src/Faker/Container/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,4 @@ public function has($id): bool

return array_key_exists($id, $this->definitions);
}

/**
* Get the bindings between Extension interfaces and implementations.
*/
public function getDefinitions(): array
{
return $this->definitions;
}
}
4 changes: 0 additions & 4 deletions src/Faker/Container/ContainerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,4 @@

interface ContainerInterface extends BaseContainerInterface
{
/**
* Get the bindings between Extension interfaces and implementations.
*/
public function getDefinitions(): array;
}

0 comments on commit 73231b6

Please sign in to comment.