@@ -56,6 +56,9 @@ discard block |
||
56 | 56 | */ |
57 | 57 | private $l10n; |
58 | 58 | |
59 | + /** |
|
60 | + * @param integer $id |
|
61 | + */ |
|
59 | 62 | public function __construct(IL10N $l10n, View $view, $path, $id = null) { |
60 | 63 | $this->l10n = $l10n; |
61 | 64 | |
@@ -96,7 +99,7 @@ discard block |
||
96 | 99 | |
97 | 100 | /** |
98 | 101 | * Reads a file portion by portion until the very end |
99 | - * @return string|boolean |
|
102 | + * @return false|string |
|
100 | 103 | */ |
101 | 104 | public function fread() { |
102 | 105 | if (!$this->isValid()) { |
@@ -172,7 +172,7 @@ |
||
172 | 172 | } |
173 | 173 | |
174 | 174 | /** |
175 | - * @param $data |
|
175 | + * @param string $data |
|
176 | 176 | * @return bool |
177 | 177 | */ |
178 | 178 | protected function writeRaw($data){ |