@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * @param string $file |
| 75 | 75 | * @param string[] $dirs |
| 76 | - * @return Php\Entity\Statement[] |
|
| 76 | + * @return Statement[] |
|
| 77 | 77 | */ |
| 78 | 78 | private function parseTextFile($file, $dirs) |
| 79 | 79 | { |
@@ -82,8 +82,8 @@ discard block |
||
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | /** |
| 85 | - * @param string $file |
|
| 86 | 85 | * @param string[] $dirs |
| 86 | + * @param string $text |
|
| 87 | 87 | * @return Php\Entity\Statement[] |
| 88 | 88 | */ |
| 89 | 89 | private function parseText($text, $dirs) |
@@ -28,8 +28,9 @@ |
||
| 28 | 28 | |
| 29 | 29 | $reference = null; |
| 30 | 30 | if ($type === 'refobject') { |
| 31 | - if (isset($match[2])) |
|
| 32 | - $reference = $match[2]; |
|
| 31 | + if (isset($match[2])) { |
|
| 32 | + $reference = $match[2]; |
|
| 33 | + } |
|
| 33 | 34 | } else { |
| 34 | 35 | $reference = $match[1]; |
| 35 | 36 | } |
@@ -35,6 +35,9 @@ |
||
| 35 | 35 | return $this->consumes; |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | + /** |
|
| 39 | + * @param string $summary |
|
| 40 | + */ |
|
| 38 | 41 | public function __construct(AbstractObject $parent, $summary = null, Tag $tag = null) |
| 39 | 42 | { |
| 40 | 43 | parent::__construct($parent); |
@@ -61,13 +61,17 @@ |
||
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | 63 | * Return true if the parameter is of type 'formData' |
| 64 | - * @return type |
|
| 64 | + * @return boolean |
|
| 65 | 65 | */ |
| 66 | 66 | public function isForm() |
| 67 | 67 | { |
| 68 | 68 | return $this->in === 'form'; |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | + /** |
|
| 72 | + * @param string $in |
|
| 73 | + * @param string|null $data |
|
| 74 | + */ |
|
| 71 | 75 | public function __construct(AbstractObject $parent, $in, $data, $required = false) |
| 72 | 76 | { |
| 73 | 77 | parent::__construct($parent); |