Completed
Push — feature/issue-41 ( e1ed04...1cc60c )
by Mikaël
24:28
created
src/DomHandler/AbstractElementHandler.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
     /**
41 41
      * @param string $name
42
-     * @return AttributeHandler|null
42
+     * @return string|boolean
43 43
      */
44 44
     public function getAttribute($name)
45 45
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 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}
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     public function canOccurOnlyOnce()
145 145
     {
146
-        return ($this->getMinOccurs() === 1) || ($this->getMaxOccurs()  === 1);
146
+        return ($this->getMinOccurs() === 1) || ($this->getMaxOccurs() === 1);
147 147
     }
148 148
     /**
149 149
      * Info at {@link https://www.w3.org/TR/xmlschema-0/#OccurrenceConstraints}
Please login to merge, or discard this patch.
src/Parser/Wsdl/AbstractTagParser.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,6 @@
 block discarded – undo
104 104
     /**
105 105
      * @param AttributeHandler $tagAttribute
106 106
      * @param AbstractModel $model
107
-     * @param StructAttribute $attribute
108 107
      */
109 108
     protected function parseTagAttributeType(AttributeHandler $tagAttribute, AbstractModel $model, StructAttribute $structAttribute = null)
110 109
     {
Please login to merge, or discard this patch.