for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
*
* @Project Expression project.displayName is undefined on line 5, column 35 in Templates/Licenses/license-default.txt.
* @Copyright Djoudi
* @Created 2017-02-20
* @Filename H5pHelper.php
* @Description
*/
namespace Djoudi\LaravelH5p\Helpers;
class H5pHelper
{
//put your code here
public static function current_user_can($permission)
$permission
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public static function current_user_can(/** @scrutinizer ignore-unused */ $permission)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
return true;
}
public static function nonce($token)
return bin2hex($token);
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.