Completed
Push — feature/issue-41 ( d401bb...090673 )
by Mikaël
25:49
created
src/DomHandler/Wsdl/Tag/TagHeader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     const OPTIONAL_HEADER = 'optional';
13 13
     const ATTRIBUTE_REQUIRED = 'wsdl:required';
14 14
     /**
15
-     * @return TagInput|null
15
+     * @return \WsdlToPhp\PackageGenerator\DomHandler\AbstractNodeHandler|null
16 16
      */
17 17
     public function getParentInput()
18 18
     {
Please login to merge, or discard this patch.
src/Command/GeneratePackageCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
      */
189 189
     private function formatArrayForConsole($array)
190 190
     {
191
-        array_walk($array, function (&$value, $index) {
191
+        array_walk($array, function(&$value, $index) {
192 192
             $value = sprintf("%s: %s", $index, !is_array($value) ? $value : implode(', ', $value));
193 193
         });
194 194
         return $array;
Please login to merge, or discard this patch.
src/Model/StructAttribute.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     /**
97 97
      * Sets the type value
98 98
      * @param bool $containsElements
99
-     * @return string
99
+     * @return StructAttribute
100 100
      */
101 101
     public function setContainsElements($containsElements)
102 102
     {
Please login to merge, or discard this patch.
src/DomHandler/AbstractElementHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         if (!is_numeric($maxOccurs)) {
116 116
             return AbstractAttributeHandler::DEFAULT_OCCURENCE_VALUE;
117 117
         }
118
-        return (int) $maxOccurs;
118
+        return (int)$maxOccurs;
119 119
     }
120 120
     /**
121 121
      * Info at {@link https://www.w3.org/TR/xmlschema-0/#OccurrenceConstraints}
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         if (!is_numeric($minOccurs)) {
128 128
             return AbstractAttributeHandler::DEFAULT_OCCURENCE_VALUE;
129 129
         }
130
-        return (int) $minOccurs;
130
+        return (int)$minOccurs;
131 131
     }
132 132
     /**
133 133
      * Info at {@link https://www.w3.org/TR/xmlschema-0/#OccurrenceConstraints}
Please login to merge, or discard this patch.