Passed
Push — master ( 3531d8...c8a703 )
by Aimeos
05:42
created
lib/mwlib/src/MW/Filesystem/Standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,9 +108,12 @@
 block discarded – undo
108 108
 	 */
109 109
 	public function scan( string $path = null ) : iterable
110 110
 	{
111
-		try {
111
+		try
112
+		{
112 113
 			return new \DirectoryIterator( $this->resolve( (string) $path ) );
113
-		} catch( \Exception $e ) {
114
+		}
115
+		catch( \Exception $e )
116
+		{
114 117
 			throw new Exception( $e->getMessage(), 0, $e );
115 118
 		}
116 119
 	}
Please login to merge, or discard this patch.