Completed
Push — feature/issue-47 ( 2afd17...a57c73 )
by Mikaël
25:07
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/ConfigurationReader/XsdTypes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      */
61 61
     public static function isAnonymous($xsdType)
62 62
     {
63
-        return (bool) preg_match(self::ANONYMOUS_TYPE, $xsdType);
63
+        return (bool)preg_match(self::ANONYMOUS_TYPE, $xsdType);
64 64
     }
65 65
     /**
66 66
      * @param string $xsdType
Please login to merge, or discard this patch.
src/File/AbstractModelFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -424,7 +424,7 @@
 block discarded – undo
424 424
     {
425 425
         $attribute = $this->getStructAttribute($attribute);
426 426
         $inheritance = $attribute->getInheritance();
427
-        if(empty($inheritance)) {
427
+        if (empty($inheritance)) {
428 428
             $type = $attribute->getType();
429 429
         } else {
430 430
             $type = $inheritance;
Please login to merge, or discard this patch.
src/Model/Struct.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -343,7 +343,7 @@
 block discarded – undo
343 343
         $inheritance = $this->getInheritance();
344 344
         if (!empty($inheritance)) {
345 345
             $struct = $this->getInheritanceStruct();
346
-            while($struct instanceof Struct) {
346
+            while ($struct instanceof Struct) {
347 347
                 $structInheritance = $struct->getInheritance();
348 348
                 if (!empty($structInheritance)) {
349 349
                     $inheritance = $structInheritance;
Please login to merge, or discard this patch.