Completed
Pull Request — master (#215)
by Anthon
03:45
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.