@@ -96,6 +96,10 @@ |
||
| 96 | 96 | ]; |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | + /** |
|
| 100 | + * @param string $key |
|
| 101 | + * @param null|integer $default_value |
|
| 102 | + */ |
|
| 99 | 103 | protected function getParams(Request $request, $key, $default_value) |
| 100 | 104 | { |
| 101 | 105 | $element = $request->get($key); |
@@ -301,6 +301,10 @@ discard block |
||
| 301 | 301 | * @param boolean $is_image TRUE if this is an image |
| 302 | 302 | * @return string The string with the evil attributes removed |
| 303 | 303 | */ |
| 304 | + |
|
| 305 | + /** |
|
| 306 | + * @param boolean $evilAttribute |
|
| 307 | + */ |
|
| 304 | 308 | protected function _remove_evil_attributes($str, $is_image, $evilAttribute) |
| 305 | 309 | { |
| 306 | 310 | // All javascript event handlers (e.g. onload, onclick, onmouseover), style, and xmlns |
@@ -429,7 +433,7 @@ discard block |
||
| 429 | 433 | * things like j a v a s c r i p t |
| 430 | 434 | * |
| 431 | 435 | * @param type |
| 432 | - * @return type |
|
| 436 | + * @return string |
|
| 433 | 437 | */ |
| 434 | 438 | protected function _compact_exploded_words($matches) |
| 435 | 439 | { |