@@ -201,7 +201,7 @@ |
||
201 | 201 | |
202 | 202 | /** |
203 | 203 | * @param Type $type |
204 | - * @return \GoetasWebservices\XML\XSDReader\Schema\Type\Type|null |
|
204 | + * @return SimpleType|null |
|
205 | 205 | */ |
206 | 206 | protected function isArrayType(Type $type) |
207 | 207 | { |
@@ -387,7 +387,7 @@ |
||
387 | 387 | * @param Schema $schema |
388 | 388 | * @param Element $element |
389 | 389 | * @param boolean $arrayize |
390 | - * @return \GoetasWebservices\Xsd\XsdToPhp\Structure\PHPProperty |
|
390 | + * @return PHPProperty |
|
391 | 391 | */ |
392 | 392 | private function visitElement(PHPClass $class, Schema $schema, ElementSingle $element, $arrayize = true) |
393 | 393 | { |
@@ -65,6 +65,9 @@ discard block |
||
65 | 65 | } |
66 | 66 | |
67 | 67 | |
68 | + /** |
|
69 | + * @param string $namespace |
|
70 | + */ |
|
68 | 71 | public function __construct($name = null, $namespace = null) |
69 | 72 | { |
70 | 73 | $this->name = $name; |
@@ -93,11 +96,17 @@ discard block |
||
93 | 96 | return $this; |
94 | 97 | } |
95 | 98 | |
99 | + /** |
|
100 | + * @return string |
|
101 | + */ |
|
96 | 102 | public function getDoc() |
97 | 103 | { |
98 | 104 | return $this->doc; |
99 | 105 | } |
100 | 106 | |
107 | + /** |
|
108 | + * @param string $doc |
|
109 | + */ |
|
101 | 110 | public function setDoc($doc) |
102 | 111 | { |
103 | 112 | $this->doc = $doc; |
@@ -109,6 +118,9 @@ discard block |
||
109 | 118 | return $this->getFullName(); |
110 | 119 | } |
111 | 120 | |
121 | + /** |
|
122 | + * @return string |
|
123 | + */ |
|
112 | 124 | public function getFullName() |
113 | 125 | { |
114 | 126 | return "{$this->namespace}\\{$this->name}"; |
@@ -142,7 +154,7 @@ discard block |
||
142 | 154 | /** |
143 | 155 | * |
144 | 156 | * @param |
145 | - * $property |
|
157 | + string $property |
|
146 | 158 | * @param |
147 | 159 | * $check |
148 | 160 | * @param |
@@ -208,8 +220,7 @@ discard block |
||
208 | 220 | |
209 | 221 | /** |
210 | 222 | * |
211 | - * @param string $name |
|
212 | - * @return PHPProperty |
|
223 | + * @return PHPProperty[] |
|
213 | 224 | */ |
214 | 225 | public function getPropertiesInHierarchy() |
215 | 226 | { |
@@ -280,6 +291,9 @@ discard block |
||
280 | 291 | return $this->abstract; |
281 | 292 | } |
282 | 293 | |
294 | + /** |
|
295 | + * @param boolean $abstract |
|
296 | + */ |
|
283 | 297 | public function setAbstract($abstract) |
284 | 298 | { |
285 | 299 | $this->abstract = (boolean)$abstract; |