@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | /** |
157 | 157 | * Find a single row by ID. |
158 | 158 | * |
159 | - * @param mixed $id |
|
159 | + * @param string $id |
|
160 | 160 | * @param bool $includeData |
161 | 161 | * |
162 | 162 | * @return array|null |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | /** |
198 | 198 | * Gets an array of the fields in our table. |
199 | 199 | * |
200 | - * @return array |
|
200 | + * @return string[] |
|
201 | 201 | */ |
202 | 202 | private function getFields() |
203 | 203 | { |
@@ -69,6 +69,9 @@ discard block |
||
69 | 69 | ]; |
70 | 70 | } |
71 | 71 | |
72 | + /** |
|
73 | + * @param integer $pathLength |
|
74 | + */ |
|
72 | 75 | private static function getBasePathForWindowsPathLengthTests($pathLength) |
73 | 76 | { |
74 | 77 | return FileCacheTest::getBasePathForWindowsPathLengthTests($pathLength); |
@@ -78,7 +81,7 @@ discard block |
||
78 | 81 | * @param int $length |
79 | 82 | * @param string $basePath |
80 | 83 | * |
81 | - * @return array |
|
84 | + * @return string[] |
|
82 | 85 | */ |
83 | 86 | private static function getKeyAndPathFittingLength($length, $basePath) |
84 | 87 | { |
@@ -170,7 +170,7 @@ |
||
170 | 170 | * @param int $length |
171 | 171 | * @param string $basePath |
172 | 172 | * |
173 | - * @return array |
|
173 | + * @return string[] |
|
174 | 174 | */ |
175 | 175 | public static function getKeyAndPathFittingLength($length, $basePath) |
176 | 176 | { |
@@ -20,10 +20,8 @@ |
||
20 | 20 | namespace Doctrine\Common\Cache; |
21 | 21 | |
22 | 22 | use Basho\Riak; |
23 | -use Basho\Riak\Bucket; |
|
24 | 23 | use Basho\Riak\Command; |
25 | 24 | use Basho\Riak\Exception as RiakException; |
26 | -use Basho\Riak\Location; |
|
27 | 25 | use Basho\Riak\Object; |
28 | 26 | |
29 | 27 | /** |
@@ -299,7 +299,7 @@ |
||
299 | 299 | * |
300 | 300 | * @param string $id |
301 | 301 | * @param string $vClock |
302 | - * @param array $objectList |
|
302 | + * @param Object[] $objectList |
|
303 | 303 | * |
304 | 304 | * @return \Basho\Riak\Object |
305 | 305 | */ |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace Doctrine\Tests\Common\Cache; |
4 | 4 | |
5 | 5 | use Basho\Riak; |
6 | -use Basho\Riak\Bucket; |
|
7 | 6 | use Basho\Riak\Command; |
8 | 7 | use Basho\Riak\Exception as RiakException; |
9 | -use Basho\Riak\Location; |
|
10 | 8 | use Basho\Riak\Node; |
11 | 9 | use Doctrine\Common\Cache\RiakCache; |
12 | 10 |