@@ -196,7 +196,7 @@ |
||
| 196 | 196 | * - the minimum number of occurrences of the contained part aggregate |
| 197 | 197 | * - the maximum number of occurrences of the contained part aggregate |
| 198 | 198 | * |
| 199 | - * @param array $parameters Parameters |
|
| 199 | + * @param integer $parameters Parameters |
|
| 200 | 200 | * @return boolean Parameters are valid |
| 201 | 201 | */ |
| 202 | 202 | public static function validateParameters(...$parameters) |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | * Set a reader instance for this file |
| 81 | 81 | * |
| 82 | 82 | * @param ReaderInterface $reader Reader instance |
| 83 | - * @return Resource Self reference |
|
| 83 | + * @return AbstractResource Self reference |
|
| 84 | 84 | */ |
| 85 | 85 | public function load(ReaderInterface $reader) |
| 86 | 86 | { |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | * Dump this files contents into a writer |
| 94 | 94 | * |
| 95 | 95 | * @param WriterInterface $writer Writer instance |
| 96 | - * @return Resource Self reference |
|
| 96 | + * @return AbstractResource Self reference |
|
| 97 | 97 | */ |
| 98 | 98 | public function dump(WriterInterface $writer) |
| 99 | 99 | { |
@@ -104,9 +104,9 @@ discard block |
||
| 104 | 104 | /** |
| 105 | 105 | * Set the content of a particular part |
| 106 | 106 | * |
| 107 | - * @param mixed $data Content |
|
| 107 | + * @param string $data Content |
|
| 108 | 108 | * @param string $part Part path |
| 109 | - * @return Resource Self reference |
|
| 109 | + * @return AbstractResource Self reference |
|
| 110 | 110 | */ |
| 111 | 111 | public function setPart($data, $part = '/') |
| 112 | 112 | { |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | * Set the sole data content |
| 64 | 64 | * |
| 65 | 65 | * @param array $data New data |
| 66 | - * @return AbstractContentPart Self reference |
|
| 66 | + * @return AbstractSinglePartResource Self reference |
|
| 67 | 67 | */ |
| 68 | 68 | public function setData(array $data) |
| 69 | 69 | { |
@@ -162,7 +162,7 @@ |
||
| 162 | 162 | * Set the sole data content |
| 163 | 163 | * |
| 164 | 164 | * @param array $data New data |
| 165 | - * @return AbstractContentPart Self reference |
|
| 165 | + * @return FrontMarkResource Self reference |
|
| 166 | 166 | */ |
| 167 | 167 | public function setData(array $data) |
| 168 | 168 | { |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | * Append content to the sole part |
| 53 | 53 | * |
| 54 | 54 | * @param string $data Contents |
| 55 | - * @return PartInterface New part |
|
| 55 | + * @return TextResource New part |
|
| 56 | 56 | */ |
| 57 | 57 | public function append($data) |
| 58 | 58 | { |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | * Prepend content to the sole part |
| 64 | 64 | * |
| 65 | 65 | * @param string $data Contents |
| 66 | - * @return PartInterface New text part |
|
| 66 | + * @return TextResource New text part |
|
| 67 | 67 | */ |
| 68 | 68 | public function prepend($data) |
| 69 | 69 | { |