@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | } |
| 26 | 26 | /** |
| 27 | 27 | * |
| 28 | - * @return AttributeDef |
|
| 28 | + * @return Attribute |
|
| 29 | 29 | */ |
| 30 | 30 | public function getReferencedAttribute() |
| 31 | 31 | { |
@@ -53,6 +53,9 @@ discard block |
||
| 53 | 53 | return $this->nil; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | + /** |
|
| 57 | + * @param boolean $nil |
|
| 58 | + */ |
|
| 56 | 59 | public function setNil($nil) |
| 57 | 60 | { |
| 58 | 61 | $this->nil = $nil; |
@@ -36,7 +36,6 @@ |
||
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * |
| 39 | - * @param boolean $qualified |
|
| 40 | 39 | */ |
| 41 | 40 | public function setNil($nil); |
| 42 | 41 | |
@@ -17,7 +17,6 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | 19 | * |
| 20 | - * @param int $qualified |
|
| 21 | 20 | */ |
| 22 | 21 | public function setMin($min); |
| 23 | 22 | |
@@ -29,7 +28,6 @@ discard block |
||
| 29 | 28 | |
| 30 | 29 | /** |
| 31 | 30 | * |
| 32 | - * @param int $qualified |
|
| 33 | 31 | */ |
| 34 | 32 | public function setMax($max); |
| 35 | 33 | |
@@ -53,7 +51,6 @@ discard block |
||
| 53 | 51 | |
| 54 | 52 | /** |
| 55 | 53 | * |
| 56 | - * @param boolean $qualified |
|
| 57 | 54 | */ |
| 58 | 55 | public function setNil($nil); |
| 59 | 56 | } |
@@ -50,6 +50,10 @@ discard block |
||
| 50 | 50 | $this->addKnownSchemaLocation('http://www.w3.org/2001/XMLSchema.xsd', __DIR__ . '/Resources/XMLSchema.xsd'); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | + /** |
|
| 54 | + * @param string $remote |
|
| 55 | + * @param string $local |
|
| 56 | + */ |
|
| 53 | 57 | public function addKnownSchemaLocation($remote, $local) |
| 54 | 58 | { |
| 55 | 59 | $this->knowLocationSchemas[$remote] = $local; |
@@ -320,6 +324,9 @@ discard block |
||
| 320 | 324 | }; |
| 321 | 325 | } |
| 322 | 326 | |
| 327 | + /** |
|
| 328 | + * @param \Closure $callback |
|
| 329 | + */ |
|
| 323 | 330 | private function loadComplexType(Schema $schema, DOMElement $node, $callback = null) |
| 324 | 331 | { |
| 325 | 332 | $isSimple = false; |
@@ -372,6 +379,9 @@ discard block |
||
| 372 | 379 | }; |
| 373 | 380 | } |
| 374 | 381 | |
| 382 | + /** |
|
| 383 | + * @param \Closure $callback |
|
| 384 | + */ |
|
| 375 | 385 | private function loadSimpleType(Schema $schema, DOMElement $node, $callback = null) |
| 376 | 386 | { |
| 377 | 387 | $type = new SimpleType($schema, $node->getAttribute("name")); |
@@ -538,6 +548,9 @@ discard block |
||
| 538 | 548 | } |
| 539 | 549 | } |
| 540 | 550 | |
| 551 | + /** |
|
| 552 | + * @param string $typeName |
|
| 553 | + */ |
|
| 541 | 554 | private static function splitParts(DOMElement $node, $typeName) |
| 542 | 555 | { |
| 543 | 556 | $namespace = null; |