Completed
Pull Request — master (#197)
by
unknown
07:17
created
lib/Doctrine/Common/Cache/SQLite3Cache.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Common/Cache/BaseFileCacheTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Common/Cache/FileCacheTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
lib/Doctrine/Common/Cache/CacheProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -334,7 +334,7 @@
 block discarded – undo
334 334
      *
335 335
      * @param string $id The id of the cache entry to fetch.
336 336
      *
337
-     * @return mixed|false The cached data or FALSE, if no cache entry exists for the given id.
337
+     * @return string The cached data or FALSE, if no cache entry exists for the given id.
338 338
      */
339 339
     abstract protected function doFetch($id);
340 340
 
Please login to merge, or discard this patch.
lib/Doctrine/Common/Cache/TaggableCache.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,6 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * Fetches an entry by tag from the cache.
42 42
      *
43
-     * @param string $id The id of the cache entry to fetch.
44 43
      *
45 44
      * @return mixed The cached data or FALSE, if no cache entry exists for the given id.
46 45
      */
@@ -59,7 +58,8 @@  discard block
 block discarded – undo
59 58
     /**
60 59
      * Deletes a cache entries marked by tags.
61 60
      *
62
-     * @param array $tag The tag id's.
61
+     * @param array $tags The tag id's.
62
+     * @return void
63 63
      */
64 64
     public function deleteByTags(array $tags = []);
65 65
 }
Please login to merge, or discard this patch.