diff --git a/pkg/simple-client/README.md b/pkg/simple-client/README.md index d7054f1be..ddc024f0f 100644 --- a/pkg/simple-client/README.md +++ b/pkg/simple-client/README.md @@ -14,7 +14,7 @@ Enqueue is an MIT-licensed open source project with its ongoing development made [![Total Downloads](https://poser.pugx.org/enqueue/simple-client/d/total.png)](https://packagist.org/packages/enqueue/simple-client) [![Latest Stable Version](https://poser.pugx.org/enqueue/simple-client/version.png)](https://packagist.org/packages/enqueue/simple-client) -The simple client takes Enqueue client classes and Symfony components and combines it to easy to use facade called `SimpleCLient`. +The simple client takes Enqueue client classes and Symfony components and combines it to easy to use facade called `SimpleClient`. ## Resources diff --git a/pkg/simple-client/SimpleClient.php b/pkg/simple-client/SimpleClient.php index 52329a6c7..9158364b9 100644 --- a/pkg/simple-client/SimpleClient.php +++ b/pkg/simple-client/SimpleClient.php @@ -126,9 +126,9 @@ public function __construct($config, LoggerInterface $logger = null) ]; } - $this->build(['enqueue' => $config]); - $this->logger = $logger ?: new NullLogger(); + + $this->build(['enqueue' => $config]); } /**