Test Setup Failed
Push — master ( 2f9c89...2774ea )
by Herberto
02:07
created
src/Adapter/PhpFileCacheDoctrineAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @param string $id The id of the cache entry to fetch.
26 26
      *
27
-     * @return mixed The cached data or FALSE, if no cache entry exists for the given id.
27
+     * @return string|false The cached data or FALSE, if no cache entry exists for the given id.
28 28
      */
29 29
     public function fetch($id)
30 30
     {
Please login to merge, or discard this patch.
src/PhpFile/Adapter/FileSystem/FileSystemAdapter.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -43,11 +43,9 @@  discard block
 block discarded – undo
43 43
     {
44 44
         try {
45 45
             return $this->fileSystem->readFile($path);
46
-        }
47
-        catch (InvalidPathException $e) {
46
+        } catch (InvalidPathException $e) {
48 47
             throw new CacheInvalidPathException('', 0, $e);
49
-        }
50
-        catch (FileNotFoundException $e) {
48
+        } catch (FileNotFoundException $e) {
51 49
             throw new CacheFileNotFoundException('', 0, $e);
52 50
         }
53 51
     }
@@ -60,11 +58,9 @@  discard block
 block discarded – undo
60 58
     {
61 59
         try {
62 60
             $this->fileSystem->writeFile($path, $content);
63
-        }
64
-        catch (InvalidPathException $e) {
61
+        } catch (InvalidPathException $e) {
65 62
             throw new CacheInvalidPathException('', 0, $e);
66
-        }
67
-        catch (PathAlreadyExistsException $e) {
63
+        } catch (PathAlreadyExistsException $e) {
68 64
             throw new CachePathAlreadyExistsException('', 0, $e);
69 65
         }
70 66
     }
Please login to merge, or discard this patch.