Passed
Branch master (2076f7)
by Aimeos
02:20
created
lib/custom/src/MW/Translation/Zend2.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,9 @@  discard block
 block discarded – undo
74 74
 				}
75 75
 			}
76 76
 		}
77
-		catch( \Exception $e ) { ; } // Discard errors, return original string instead
77
+		catch( \Exception $e )
78
+		{
79
+; } // Discard errors, return original string instead
78 80
 
79 81
 		return (string) $singular;
80 82
 	}
@@ -109,7 +111,9 @@  discard block
 block discarded – undo
109 111
 				}
110 112
 			}
111 113
 		}
112
-		catch( \Exception $e ) { ; } // Discard errors, return original string instead
114
+		catch( \Exception $e )
115
+		{
116
+; } // Discard errors, return original string instead
113 117
 
114 118
 		if( $this->getPluralIndex( $number, $this->getLocale() ) > 0 ) {
115 119
 			return (string) $plural;
Please login to merge, or discard this patch.