@@ -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 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Riak\Bucket; |
| 6 | 6 | use Riak\Connection; |
| 7 | 7 | use Riak\Exception; |
| 8 | -use Riak\Object; |
|
| 9 | 8 | use Doctrine\Common\Cache\RiakCache; |
| 10 | 9 | |
| 11 | 10 | /** |