Passed
Push — master ( 2774ea...0fed9c )
by Herberto
04:07
created
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.