@@ -187,7 +187,7 @@ |
||
| 187 | 187 | /** |
| 188 | 188 | * @param bool $asResource |
| 189 | 189 | * |
| 190 | - * @return resource|string |
|
| 190 | + * @return string |
|
| 191 | 191 | * @throws \LogicException When using the resource twice times. |
| 192 | 192 | */ |
| 193 | 193 | public function getContent($asResource = false) |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | * - deleteTrailing(array('|','5'), '|1|2|3|4|5|555') -> '|1|2|3|4' |
| 107 | 107 | * </code> |
| 108 | 108 | * |
| 109 | - * @param string|array $needle The needle. |
|
| 109 | + * @param string $needle The needle. |
|
| 110 | 110 | * @param string $haystack The haystack. |
| 111 | 111 | * |
| 112 | 112 | * @return string |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | * - deleteTrailing(array('#', '1'), '##11#2#3#4#5') -> '2#3#4#5' |
| 128 | 128 | * </code> |
| 129 | 129 | * |
| 130 | - * @param string|array $needle The needle. |
|
| 130 | + * @param string $needle The needle. |
|
| 131 | 131 | * @param string $haystack The haystack. |
| 132 | 132 | * |
| 133 | 133 | * @return string |