pelican-panel-mirror/app/Policies/Server/DefaultPolicies.php
RMartinOscar 42ce06e21c Cleanup
2025-10-27 17:12:23 +00:00

19 lines
417 B
PHP

<?php
namespace App\Policies\Server;
trait DefaultPolicies
{
/**
* This is a horrendous hack to avoid Laravel's "smart" behavior that does
* not call the before() function if there isn't a function matching the
* policy permission.
*
* @param array<string, mixed> $arguments
*/
public function __call(string $name, array $arguments): void
{
// do nothing
}
}