Completed
Push — master ( a4b929...601374 )
by Hu
02:33
created
src/Cache/FileCache.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * 添加或覆盖一个key
51 51
      * @param string $key
52
-     * @param mixed $value
52
+     * @param integer $value
53 53
      * @param int $expire expire time in seconds
54
-     * @return mixed
54
+     * @return boolean
55 55
      */
56 56
     public function set($key, $value, $expire = 0)
57 57
     {
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * 创建缓存文件
85 85
      * @param $key
86
-     * @return bool|string
86
+     * @return false|string
87 87
      */
88 88
     private function createCacheFile($key)
89 89
     {
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     /**
105 105
      * 判断Key是否存在
106 106
      * @param $key
107
-     * @return mixed
107
+     * @return boolean
108 108
      */
109 109
     public function has($key)
110 110
     {
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
 
186 186
     /**
187 187
      * 清楚所有缓存
188
-     * @return mixed
188
+     * @return boolean
189 189
      */
190 190
     public function flush()
191 191
     {
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 
195 195
     /**
196 196
      * 递归删除目录
197
-     * @param $dir
197
+     * @param string $dir
198 198
      * @return bool
199 199
      */
200 200
     function delTree($dir)
Please login to merge, or discard this patch.