@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | |
203 | 203 | /** |
204 | 204 | * @param Type $type |
205 | - * @return \GoetasWebservices\XML\XSDReader\Schema\Type\Type|null |
|
205 | + * @return SimpleType|null |
|
206 | 206 | */ |
207 | 207 | protected function isArrayType(Type $type) |
208 | 208 | { |
@@ -224,7 +224,6 @@ discard block |
||
224 | 224 | } |
225 | 225 | |
226 | 226 | /** |
227 | - * @param ElementSingle $type |
|
228 | 227 | * @return \GoetasWebservices\XML\XSDReader\Schema\Element\ElementSingle|null |
229 | 228 | */ |
230 | 229 | protected function isArrayElement($element) |
@@ -368,7 +368,7 @@ discard block |
||
368 | 368 | * @param Schema $schema |
369 | 369 | * @param Element $element |
370 | 370 | * @param boolean $arrayize |
371 | - * @return \Goetas\Xsd\XsdToPhp\Structure\PHPProperty |
|
371 | + * @return PHPProperty |
|
372 | 372 | */ |
373 | 373 | private function visitElement(PHPClass $class, Schema $schema, ElementSingle $element, $arrayize = true) |
374 | 374 | { |
@@ -412,6 +412,9 @@ discard block |
||
412 | 412 | return $property; |
413 | 413 | } |
414 | 414 | |
415 | + /** |
|
416 | + * @return PHPClass |
|
417 | + */ |
|
415 | 418 | private function findPHPClass(PHPClass $class, Item $node, $force = false) |
416 | 419 | { |
417 | 420 |
@@ -19,6 +19,9 @@ discard block |
||
19 | 19 | } |
20 | 20 | } |
21 | 21 | |
22 | + /** |
|
23 | + * @param string $namespace |
|
24 | + */ |
|
22 | 25 | public function __construct($name = null, $namespace = null) |
23 | 26 | { |
24 | 27 | $this->name = $name; |
@@ -36,6 +39,9 @@ discard block |
||
36 | 39 | return $this; |
37 | 40 | } |
38 | 41 | |
42 | + /** |
|
43 | + * @return string |
|
44 | + */ |
|
39 | 45 | public function getNamespace() |
40 | 46 | { |
41 | 47 | return $this->namespace; |
@@ -47,11 +53,17 @@ discard block |
||
47 | 53 | return $this; |
48 | 54 | } |
49 | 55 | |
56 | + /** |
|
57 | + * @return string |
|
58 | + */ |
|
50 | 59 | public function getDoc() |
51 | 60 | { |
52 | 61 | return $this->doc; |
53 | 62 | } |
54 | 63 | |
64 | + /** |
|
65 | + * @param string $doc |
|
66 | + */ |
|
55 | 67 | public function setDoc($doc) |
56 | 68 | { |
57 | 69 | $this->doc = $doc; |
@@ -63,6 +75,9 @@ discard block |
||
63 | 75 | return $this->getFullName(); |
64 | 76 | } |
65 | 77 | |
78 | + /** |
|
79 | + * @return string |
|
80 | + */ |
|
66 | 81 | public function getFullName() |
67 | 82 | { |
68 | 83 | return "{$this->namespace}\\{$this->name}"; |
@@ -96,7 +111,7 @@ discard block |
||
96 | 111 | /** |
97 | 112 | * |
98 | 113 | * @param |
99 | - * $property |
|
114 | + string $property |
|
100 | 115 | * @param |
101 | 116 | * $check |
102 | 117 | * @param |
@@ -162,8 +177,7 @@ discard block |
||
162 | 177 | |
163 | 178 | /** |
164 | 179 | * |
165 | - * @param string $name |
|
166 | - * @return PHPProperty |
|
180 | + * @return PHPProperty[] |
|
167 | 181 | */ |
168 | 182 | public function getPropertiesInHierarchy() |
169 | 183 | { |
@@ -234,6 +248,9 @@ discard block |
||
234 | 248 | return $this->abstract; |
235 | 249 | } |
236 | 250 | |
251 | + /** |
|
252 | + * @param boolean $abstract |
|
253 | + */ |
|
237 | 254 | public function setAbstract($abstract) |
238 | 255 | { |
239 | 256 | $this->abstract = (boolean)$abstract; |