Completed
Push — master ( 7a0acf...84b209 )
by angel
02:14
created
src/Money.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,10 +43,12 @@
 block discarded – undo
43 43
 
44 44
     public static function generaFormato($valor = 0, $simbolo = 'BsF', $decimal = 2)
45 45
     {
46
-        if (!is_numeric($valor))
47
-            throw new Exception("{$valor} debe indicar un número que sea válido");
48
-        if (!is_int($decimal))
49
-            throw new Exception("El valor {$decimal} no es válido");
46
+        if (!is_numeric($valor)) {
47
+                    throw new Exception("{$valor} debe indicar un número que sea válido");
48
+        }
49
+        if (!is_int($decimal)) {
50
+                    throw new Exception("El valor {$decimal} no es válido");
51
+        }
50 52
 
51 53
         return $simbolo . ' ' . number_format($valor, $decimal, '.', '');
52 54
     }
Please login to merge, or discard this patch.
src/Gravatar.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -36,9 +36,6 @@
 block discarded – undo
36 36
     /**
37 37
     * Returns the user's gravatar url.
38 38
     * @param string $email The email address
39
-    * @param string $imageset Default imageset to use [ 404 | mm | identicon | monsterid | wavatar ]
40
-    * @param string $rating Maximum rating (inclusive) [ g | pg | r | x ]
41
-    * @param boole $img True to return a complete IMG tag False for just the URL
42 39
     * @param array $options Optional, additional key/value attributes to include
43 40
     * @return string Link to the user's gravatar image.
44 41
     */
Please login to merge, or discard this patch.