@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | /** |
| 171 | 171 | * Gets the mime-type of a file |
| 172 | 172 | * |
| 173 | - * @return mixed |
|
| 173 | + * @return string |
|
| 174 | 174 | */ |
| 175 | 175 | public function getType() |
| 176 | 176 | { |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | /** |
| 193 | 193 | * Gets the uploaded date of a file |
| 194 | 194 | * |
| 195 | - * @return mixed |
|
| 195 | + * @return null|\DateTime |
|
| 196 | 196 | */ |
| 197 | 197 | public function getDateUploaded() |
| 198 | 198 | { |
@@ -592,7 +592,7 @@ |
||
| 592 | 592 | } |
| 593 | 593 | |
| 594 | 594 | /** |
| 595 | - * @param $data |
|
| 595 | + * @param \Zend\Stdlib\ParametersInterface $data |
|
| 596 | 596 | * @return $this |
| 597 | 597 | */ |
| 598 | 598 | public function setData($data) |
@@ -1,11 +1,11 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license MIT |
|
| 8 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | /** XssFilter.php */ |
| 11 | 11 | namespace Core\Filter; |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | */ |
| 66 | 66 | public function filter($value) |
| 67 | 67 | { |
| 68 | - $htmlPurifier = $this->getHtmlPurifier(); |
|
| 69 | - return $htmlPurifier->filter($value); |
|
| 68 | + $htmlPurifier = $this->getHtmlPurifier(); |
|
| 69 | + return $htmlPurifier->filter($value); |
|
| 70 | 70 | } |
| 71 | 71 | } |
| 72 | 72 | \ No newline at end of file |