Test Failed
Push — master ( 8c4d6d...d614e4 )
by Christopher
04:55
created
src/MetadataV3/edm/TTypeRefType.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,10 +22,10 @@
 block discarded – undo
22 22
     private $type = null;
23 23
 
24 24
      /**
25
-     * Gets as type
26
-     *
27
-     * @return string
28
-     */
25
+      * Gets as type
26
+      *
27
+      * @return string
28
+      */
29 29
     public function getType()
30 30
     {
31 31
         return $this->type;
Please login to merge, or discard this patch.
src/MetadataManager.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,8 +66,12 @@
 block discarded – undo
66 66
      */
67 67
     public static function pluralize($quantity, $singular, $plural = null)
68 68
     {
69
-        if ($quantity == 1 || !strlen($singular)) return $singular;
70
-        if ($plural !== null) return $plural;
69
+        if ($quantity == 1 || !strlen($singular)) {
70
+         return $singular;
71
+        }
72
+        if ($plural !== null) {
73
+         return $plural;
74
+        }
71 75
 
72 76
         $last_letter = strtolower($singular[strlen($singular) - 1]);
73 77
         switch ($last_letter) {
Please login to merge, or discard this patch.
tests/EdmxTest.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,8 +66,12 @@
 block discarded – undo
66 66
      */
67 67
     public static function pluralize($quantity, $singular, $plural = null)
68 68
     {
69
-        if ($quantity == 1 || !strlen($singular)) return $singular;
70
-        if ($plural !== null) return $plural;
69
+        if ($quantity == 1 || !strlen($singular)) {
70
+         return $singular;
71
+        }
72
+        if ($plural !== null) {
73
+         return $plural;
74
+        }
71 75
 
72 76
         $last_letter = strtolower($singular[strlen($singular) - 1]);
73 77
         switch ($last_letter) {
Please login to merge, or discard this patch.