Skip to content

Commit

Permalink
PHPCS will now target PHP 7.4 - the minimal required version
Browse files Browse the repository at this point in the history
  • Loading branch information
XedinUnknown committed Sep 21, 2024
1 parent f1ad7b2 commit 135b08c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DelegatingContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function get($id)
$stack[$id] = true;

try {
return $this->_createService($id);
return $this->createService($id);
} finally {
unset($stack[$id]);
}
Expand Down Expand Up @@ -83,7 +83,7 @@ public function has($id)
* @throws NotFoundException If no factory corresponds to the given $key.
* @throws ContainerException If an error occurred while creating the service.
*/
protected function _createService(string $key)
protected function createService(string $key)
{
$provider = $this->provider;
$services = $provider->getFactories();
Expand Down

0 comments on commit 135b08c

Please sign in to comment.