Skip to content

Commit

Permalink
Prevent use of strings to refer to class names
Browse files Browse the repository at this point in the history
  • Loading branch information
holtkamp committed Nov 1, 2018
1 parent 66ecb4f commit b60815e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ContainerBuilder.php
Expand Up @@ -111,7 +111,7 @@ public static function buildDevContainer() : Container
/**
* @param string $containerClass Name of the container class, used to create the container.
*/
public function __construct(string $containerClass = 'DI\Container')
public function __construct(string $containerClass = Container::class)
{
$this->containerClass = $containerClass;
}
Expand Down

0 comments on commit b60815e

Please sign in to comment.