@@ -84,11 +84,11 @@ discard block |
||
84 | 84 | } |
85 | 85 | |
86 | 86 | /** |
87 | - * @param $handle |
|
87 | + * @param resource $handle |
|
88 | 88 | * @param array $array |
89 | - * @param $delimiter |
|
90 | - * @param $enclosure |
|
91 | - * @param $escape |
|
89 | + * @param string $delimiter |
|
90 | + * @param string $enclosure |
|
91 | + * @param string $escape |
|
92 | 92 | */ |
93 | 93 | private static function hackWrite($handle, array $array, $delimiter, $enclosure, $escape) |
94 | 94 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | } |
99 | 99 | |
100 | 100 | /** |
101 | - * @param $handle |
|
101 | + * @param resource $handle |
|
102 | 102 | * @param string $contents |
103 | 103 | * @return string |
104 | 104 | */ |
@@ -40,7 +40,7 @@ |
||
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
43 | - * @return string |
|
43 | + * @return Xml |
|
44 | 44 | */ |
45 | 45 | public function toXml() |
46 | 46 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace BestServedCold\PhalueObjects\Format; |
4 | 4 | |
5 | -use BestServedCold\PhalueObjects\Contract\VOArrayable; |
|
6 | -use BestServedCold\PhalueObjects\VOString; |
|
5 | +use BestServedCold\PhalueObjects\Contract\VOArrayable; |
|
6 | +use BestServedCold\PhalueObjects\VOString; |
|
7 | 7 | use Sabre\Xml\Service; |
8 | 8 | |
9 | 9 | /** |
@@ -224,7 +224,7 @@ |
||
224 | 224 | $value, |
225 | 225 | array_merge($this->globalAttributes, array_keys($this->allowedAttributes)) |
226 | 226 | )) { |
227 | - throw new \InvalidArgumentException('[' . $value . '] is not a valid HTML Attribute'); |
|
227 | + throw new \InvalidArgumentException('['.$value.'] is not a valid HTML Attribute'); |
|
228 | 228 | } |
229 | 229 | |
230 | 230 | parent::__construct($value); |