@@ -101,7 +101,6 @@ |
||
| 101 | 101 | |
| 102 | 102 | /** |
| 103 | 103 | * Checks if an attribute exists and if it exists as key in a whitelist |
| 104 | - |
|
| 105 | 104 | * @param string $name the desired attributes name |
| 106 | 105 | * @param array $whitelist an array with whitelisted key -> value pairs |
| 107 | 106 | * @param mixed $default [optional] a default value in case the attribute isn't set, defaults to false |
@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Class Code |
|
| 4 | - * |
|
| 5 | - * @filesource Code.php |
|
| 6 | - * @created 12.10.2015 |
|
| 7 | - * @package chillerlan\bbcode\Modules\Html5 |
|
| 8 | - * @author Smiley <[email protected]> |
|
| 9 | - * @copyright 2015 Smiley |
|
| 10 | - * @license MIT |
|
| 11 | - */ |
|
| 3 | + * Class Code |
|
| 4 | + * |
|
| 5 | + * @filesource Code.php |
|
| 6 | + * @created 12.10.2015 |
|
| 7 | + * @package chillerlan\bbcode\Modules\Html5 |
|
| 8 | + * @author Smiley <[email protected]> |
|
| 9 | + * @copyright 2015 Smiley |
|
| 10 | + * @license MIT |
|
| 11 | + */ |
|
| 12 | 12 | |
| 13 | 13 | namespace chillerlan\bbcode\Modules\Html5; |
| 14 | 14 | |
@@ -72,10 +72,10 @@ |
||
| 72 | 72 | |
| 73 | 73 | if($this->flash){ |
| 74 | 74 | $player = '<object type="application/x-shockwave-flash" data="'.$video_url.'">' |
| 75 | - .'<param name="allowfullscreen" value="true">' |
|
| 76 | - .'<param name="wmode" value="opaque" />' |
|
| 77 | - .'<param name="movie" value="'.$video_url.'" />' |
|
| 78 | - .'</object>'; |
|
| 75 | + .'<param name="allowfullscreen" value="true">' |
|
| 76 | + .'<param name="wmode" value="opaque" />' |
|
| 77 | + .'<param name="movie" value="'.$video_url.'" />' |
|
| 78 | + .'</object>'; |
|
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | return '<div'.$cssclass.'>'.$player.'</div>'; |
@@ -101,7 +101,6 @@ |
||
| 101 | 101 | |
| 102 | 102 | /** |
| 103 | 103 | * Checks if an attribute exists and if it exists as key in a whitelist |
| 104 | - |
|
| 105 | 104 | * @param string $name the desired attributes name |
| 106 | 105 | * @param array $whitelist an array with whitelisted key -> value pairs |
| 107 | 106 | * @param mixed $default [optional] a default value in case the attribute isn't set, defaults to false |
@@ -24,8 +24,8 @@ |
||
| 24 | 24 | Chinese::class, |
| 25 | 25 | English::class, |
| 26 | 26 | French::class, |
| 27 | - German::class, |
|
| 28 | - Spanish::class, |
|
| 27 | + German::class, |
|
| 28 | + Spanish::class, |
|
| 29 | 29 | ]; |
| 30 | 30 | |
| 31 | 31 | public function testIterateLanguage(){ |
@@ -32,7 +32,8 @@ |
||
| 32 | 32 | * @return object of type $interface |
| 33 | 33 | * @throws \chillerlan\bbcode\BBCodeException |
| 34 | 34 | */ |
| 35 | - protected function __loadClass($class, $interface, ...$params){ // phpDocumentor stumbles across the ... syntax |
|
| 35 | + protected function __loadClass($class, $interface, ...$params){ |
|
| 36 | +// phpDocumentor stumbles across the ... syntax |
|
| 36 | 37 | if(class_exists($class)){ |
| 37 | 38 | $reflectionClass = new ReflectionClass($class); |
| 38 | 39 | |