@@ -8,7 +8,10 @@ |
||
8 | 8 | |
9 | 9 | namespace Pimf; |
10 | 10 | |
11 | -use Pimf\Util\Character as Str, Pimf\Util\Header, Pimf\Util\Header\ResponseStatus, Pimf\Util\Uuid; |
|
11 | +use Pimf\Util\Character as Str; |
|
12 | +use Pimf\Util\Header; |
|
13 | +use Pimf\Util\Header\ResponseStatus; |
|
14 | +use Pimf\Util\Uuid; |
|
12 | 15 | |
13 | 16 | /** |
14 | 17 | * Provides a facility for applications which provides reusable resources, |
@@ -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 |