Completed
Push — feature/issue-49 ( dba810...48d7fc )
by Mikaël
54:38 queued 26:47
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/Validation/ArrayRule.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
      * @param string $parameterName
13 13
      * @param mixed $value
14 14
      * @param bool $itemType
15
-     * @return Enumeration
15
+     * @return ArrayRule
16 16
      */
17 17
     public function applyRule($parameterName, $value, $itemType = false)
18 18
     {
Please login to merge, or discard this patch.
src/File/Validation/BooleanRule.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
      * @param string $parameterName
10 10
      * @param mixed $value
11 11
      * @param bool $itemType
12
-     * @return Enumeration
12
+     * @return BooleanRule
13 13
      */
14 14
     public function applyRule($parameterName, $value, $itemType = false)
15 15
     {
Please login to merge, or discard this patch.
src/File/Validation/FractionDigitsRule.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
      * @param string $parameterName
10 10
      * @param mixed $value
11 11
      * @param bool $itemType
12
-     * @return Enumeration
12
+     * @return FractionDigitsRule
13 13
      */
14 14
     public function applyRule($parameterName, $value, $itemType = false)
15 15
     {
Please login to merge, or discard this patch.
src/File/Validation/IntRule.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
      * @param string $parameterName
10 10
      * @param mixed $value
11 11
      * @param bool $itemType
12
-     * @return Enumeration
12
+     * @return IntRule
13 13
      */
14 14
     public function applyRule($parameterName, $value, $itemType = false)
15 15
     {
Please login to merge, or discard this patch.
src/File/Validation/ItemTypeRule.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@  discard block
 block discarded – undo
11 11
     /**
12 12
      * @see \WsdlToPhp\PackageGenerator\File\Validation\AbstractValidation::addRule()
13 13
      * @param string $parameterName
14
-     * @param mixed $value
14
+     * @param boolean|null $value
15 15
      * @param bool $itemType
16
-     * @return Enumeration
16
+     * @return ItemTypeRule
17 17
      */
18 18
     public function applyRule($parameterName, $value, $itemType = false)
19 19
     {
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * The second case which used PHP native functions is volontary limited by the native functions provided by PHP,
29 29
      * and the possible types defined in xsd_types.yml
30
-     * @param StructAttributeModel $attribute
30
+     * @param StructAttribute $attribute
31 31
      * @param string $itemName
32 32
      */
33 33
     protected function getItemSanityCheck(StructAttribute $attribute, $itemName)
Please login to merge, or discard this patch.
src/File/Validation/LengthRule.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
      * @param string $parameterName
10 10
      * @param mixed $value
11 11
      * @param bool $itemType
12
-     * @return Enumeration
12
+     * @return LengthRule
13 13
      */
14 14
     public function applyRule($parameterName, $value, $itemType = false)
15 15
     {
Please login to merge, or discard this patch.