djoudi /
Laravel-H5P
| 1 | <?php |
||
| 2 | |||
| 3 | /* |
||
| 4 | * |
||
| 5 | * @Project Expression project.displayName is undefined on line 5, column 35 in Templates/Licenses/license-default.txt. |
||
| 6 | * @Copyright Djoudi |
||
| 7 | * @Created 2017-02-20 |
||
| 8 | * @Filename H5pHelper.php |
||
| 9 | * @Description |
||
| 10 | * |
||
| 11 | */ |
||
| 12 | |||
| 13 | namespace Djoudi\LaravelH5p\Helpers; |
||
| 14 | |||
| 15 | class H5pHelper |
||
| 16 | { |
||
| 17 | //put your code here |
||
| 18 | |||
| 19 | public static function current_user_can($permission) |
||
|
0 ignored issues
–
show
|
|||
| 20 | { |
||
| 21 | return true; |
||
| 22 | } |
||
| 23 | |||
| 24 | public static function nonce($token) |
||
| 25 | { |
||
| 26 | return bin2hex($token); |
||
| 27 | } |
||
| 28 | } |
||
| 29 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.