This commit is contained in:
2020-10-29 18:17:25 +08:00
parent 6839b64be8
commit 53ae43b79b
198 changed files with 708 additions and 850 deletions
+5 -5
View File
@@ -1,5 +1,5 @@
<?php
declare(strict_types=1);
namespace Snowflake\Cache;
@@ -18,13 +18,13 @@ class Memcached extends Component implements ICache
{
/** @var \Memcached */
private $_memcached;
private \Memcached $_memcached;
public $host = '127.0.0.1';
public string $host = '127.0.0.1';
public $port = 11211;
public int $port = 11211;
public $timeout = 60;
public int $timeout = 60;
/**