diff --git a/src/Cache/CacheBackendFactory.php b/src/Cache/CacheBackendFactory.php
index 8f77e7d..949ca69 100644
--- a/src/Cache/CacheBackendFactory.php
+++ b/src/Cache/CacheBackendFactory.php
@@ -42,7 +42,7 @@ class CacheBackendFactory implements CacheFactoryInterface {
   /**
    * Creates a redis CacheBackendFactory.
    */
-  function __construct(ClientFactory $client_factory, CacheTagsChecksumInterface $checksum_provider) {
+  public function __construct(ClientFactory $client_factory, CacheTagsChecksumInterface $checksum_provider) {
     $this->clientFactory = $client_factory;
     $this->checksumProvider = $checksum_provider;
   }
diff --git a/src/Cache/CacheBase.php b/src/Cache/CacheBase.php
index a449ff8..999620e 100644
--- a/src/Cache/CacheBase.php
+++ b/src/Cache/CacheBase.php
@@ -88,7 +88,7 @@ abstract class CacheBase implements CacheBackendInterface {
     return $this->permTtl;
   }
 
-  function __construct($bin) {
+  public function __construct($bin) {
     $this->bin = $bin;
     $this->setPermTtl();
   }
diff --git a/src/Cache/PhpRedis.php b/src/Cache/PhpRedis.php
index 4166d6a..fa5926c 100644
--- a/src/Cache/PhpRedis.php
+++ b/src/Cache/PhpRedis.php
@@ -37,7 +37,7 @@ class PhpRedis extends CacheBase {
   /**
    * Creates a PHpRedis cache backend.
    */
-  function __construct($bin, \Redis $client, CacheTagsChecksumInterface $checksum_provider) {
+  public function __construct($bin, \Redis $client, CacheTagsChecksumInterface $checksum_provider) {
     parent::__construct($bin);
     $this->client = $client;
     $this->checksumProvider = $checksum_provider;
diff --git a/src/Cache/RedisCacheTagsChecksum.php b/src/Cache/RedisCacheTagsChecksum.php
index db1d224..76e23c9 100644
--- a/src/Cache/RedisCacheTagsChecksum.php
+++ b/src/Cache/RedisCacheTagsChecksum.php
@@ -43,7 +43,7 @@ class RedisCacheTagsChecksum implements CacheTagsChecksumInterface, CacheTagsInv
   /**
    * Creates a PHpRedis cache backend.
    */
-  function __construct(ClientFactory $factory) {
+  public function __construct(ClientFactory $factory) {
     $this->client = $factory->getClient();
   }
 
diff --git a/src/Lock/LockFactory.php b/src/Lock/LockFactory.php
index 71fd8b0..a437270 100644
--- a/src/Lock/LockFactory.php
+++ b/src/Lock/LockFactory.php
@@ -22,7 +22,7 @@ class LockFactory {
   /**
    * Creates a redis LockFactory.
    */
-  function __construct(ClientFactory $client_factory) {
+  public function __construct(ClientFactory $client_factory) {
     $this->clientFactory = $client_factory;
   }
 
diff --git a/src/Queue/PhpRedis.php b/src/Queue/PhpRedis.php
index e584119..54087e3 100644
--- a/src/Queue/PhpRedis.php
+++ b/src/Queue/PhpRedis.php
@@ -31,7 +31,7 @@ class PhpRedis extends QueueBase {
    * @param \Redis $client
    *   The PhpRedis client.
    */
-  function __construct($name, array $settings, \Redis $client) {
+  public function __construct($name, array $settings, \Redis $client) {
     parent::__construct($name, $settings);
     $this->client = $client;
   }
diff --git a/src/Queue/Predis.php b/src/Queue/Predis.php
index 11836ef..8a95157 100644
--- a/src/Queue/Predis.php
+++ b/src/Queue/Predis.php
@@ -31,7 +31,7 @@ class Predis extends QueueBase {
    * @param \Predis\Client $client
    *   The Predis client.
    */
-  function __construct($name, array $settings, \Predis\Client $client) {
+  public function __construct($name, array $settings, \Predis\Client $client) {
     parent::__construct($name, $settings);
     $this->client = $client;
   }
diff --git a/src/Queue/QueueBase.php b/src/Queue/QueueBase.php
index d00c2e9..20a9702 100644
--- a/src/Queue/QueueBase.php
+++ b/src/Queue/QueueBase.php
@@ -79,7 +79,7 @@ abstract class QueueBase {
    * @param array $settings
    *   Array of Redis-related settings for this queue.
    */
-  function __construct($name, array $settings) {
+  public function __construct($name, array $settings) {
     $this->name = $name;
     $this->reserveTimeout = $settings['reserve_timeout'];
     $this->availableListKey = static::KEY_PREFIX . $name . ':avail';
diff --git a/src/Queue/QueueRedisFactory.php b/src/Queue/QueueRedisFactory.php
index 12b35de..b6fdee7 100644
--- a/src/Queue/QueueRedisFactory.php
+++ b/src/Queue/QueueRedisFactory.php
@@ -38,7 +38,7 @@ class QueueRedisFactory {
    * @param \Drupal\Core\Database\Connection $connection
    *   The Connection object containing the key-value tables.
    */
-  function __construct(ClientFactory $client_factory, Settings $settings) {
+  public function __construct(ClientFactory $client_factory, Settings $settings) {
     $this->clientFactory = $client_factory;
     $this->settings = $settings;
   }
diff --git a/src/Queue/ReliablePhpRedis.php b/src/Queue/ReliablePhpRedis.php
index 7b9947d..124d43c 100644
--- a/src/Queue/ReliablePhpRedis.php
+++ b/src/Queue/ReliablePhpRedis.php
@@ -31,7 +31,7 @@ class ReliablePhpRedis extends ReliableQueueBase {
    * @param \Redis $client
    *   The PhpRedis client.
    */
-  function __construct($name, array $settings, \Redis $client) {
+  public function __construct($name, array $settings, \Redis $client) {
     parent::__construct($name, $settings);
     $this->client = $client;
   }
diff --git a/src/Queue/ReliablePredis.php b/src/Queue/ReliablePredis.php
index 95a3902..51896b1 100644
--- a/src/Queue/ReliablePredis.php
+++ b/src/Queue/ReliablePredis.php
@@ -31,7 +31,7 @@ class ReliablePredis extends ReliableQueueBase {
    * @param \Predis\Client $client
    *   The Predis client.
    */
-  function __construct($name, array $settings, \Predis\Client $client) {
+  public function __construct($name, array $settings, \Predis\Client $client) {
     parent::__construct($name, $settings);
     $this->client = $client;
   }
