Skip to content

Commit

Permalink
Fix Warning: Deprecated: Creation of dynamic property Credis_Cluster:…
Browse files Browse the repository at this point in the history
…:$replicas is deprecated
  • Loading branch information
jobnoam authored Dec 17, 2024
1 parent e79bf7a commit db2c032
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Cluster.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
*/
class Credis_Cluster
{
/**
* Number of replicas for each server in the cluster
* @var int
*/
protected $replicas;
/**
* Collection of Credis_Client objects attached to Redis servers
* @var Credis_Client[]
Expand Down

0 comments on commit db2c032

Please sign in to comment.