Completed
Push — feature/issue-54 ( 74298b...f633ee )
by Mikaël
32:39
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/Model/AbstractModel.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -189,8 +189,8 @@  discard block
 block discarded – undo
189 189
     }
190 190
     /**
191 191
      * Returns the value of the first meta value assigned to the name
192
-     * @param array $names the meta names to check
193
-     * @param mixed $fallback the fallback value if anyone is set
192
+     * @param string[] $names the meta names to check
193
+     * @param boolean $fallback the fallback value if anyone is set
194 194
      * @return mixed the meta information value
195 195
      */
196 196
     public function getMetaValueFirstSet(array $names, $fallback = null)
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
     /**
319 319
      * Allows to define from which class the curent model extends
320 320
      * @param bool $short
321
-     * @return string|null
321
+     * @return string
322 322
      */
323 323
     public function getExtends($short = false)
324 324
     {
@@ -425,8 +425,8 @@  discard block
 block discarded – undo
425 425
      * Returns a usable method for a original method
426 426
      * @uses PhpReservedKeywords::instance()
427 427
      * @uses PhpReservedKeywords::is()
428
-     * @param string $keyword the keyword
429 428
      * @param string $context the context
429
+     * @param string $methodName
430 430
      * @return string
431 431
      */
432 432
     public function replaceReservedMethod($methodName, $context = null)
Please login to merge, or discard this patch.