Completed
Push — master ( 1bff5d...2a2446 )
by Mikaël
75:38 queued 45:53
created
src/Model/Method.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
                 if (is_string($this->getParameterType())) {
83 83
                     $methodName .= ucfirst($this->getParameterType());
84 84
                 } else {
85
-                    $methodName .= '_' . md5(var_export($this->getParameterType(), true));
85
+                    $methodName .= '_'.md5(var_export($this->getParameterType(), true));
86 86
                 }
87 87
             }
88 88
             $context = $this->getOwner()->getPackagedName();
Please login to merge, or discard this patch.
src/Model/StructValue.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,11 +61,11 @@  discard block
 block discarded – undo
61 61
     public function getCleanName($keepMultipleUnderscores = false)
62 62
     {
63 63
         if ($this->getGenerator()->getOptionGenericConstantsNames()) {
64
-            return 'ENUM_VALUE_' . $this->getIndex();
64
+            return 'ENUM_VALUE_'.$this->getIndex();
65 65
         } else {
66 66
             $nameWithSeparatedWords = $this->getNameWithSeparatedWords($keepMultipleUnderscores);
67 67
             $key = self::constantSuffix($this->getOwner()->getName(), $nameWithSeparatedWords, $this->getIndex());
68
-            return 'VALUE_' . strtoupper($nameWithSeparatedWords . ($key ? '_' . $key : ''));
68
+            return 'VALUE_'.strtoupper($nameWithSeparatedWords.($key ? '_'.$key : ''));
69 69
         }
70 70
     }
71 71
     /**
@@ -118,8 +118,8 @@  discard block
 block discarded – undo
118 118
      */
119 119
     private static function constantSuffix($structName, $value, $index)
120 120
     {
121
-        $key = strtoupper($structName . '_' . $value);
122
-        $indexedKey = $key . '_' . $index;
121
+        $key = strtoupper($structName.'_'.$value);
122
+        $indexedKey = $key.'_'.$index;
123 123
         if (array_key_exists($indexedKey, self::$uniqueConstants)) {
124 124
             return self::$uniqueConstants[$indexedKey];
125 125
         } elseif (!array_key_exists($key, self::$uniqueConstants)) {
Please login to merge, or discard this patch.