AbstractRule class update, with abstract authorized function updated to accept a parameter

This commit is contained in:
Dillon Ngo
2024-07-12 13:27:31 +08:00
parent 929cb2c0a6
commit c3961d102e
90 changed files with 92 additions and 92 deletions
@@ -25,7 +25,7 @@ class CanCreateFile extends AbstractRule
/**
* @return bool
*/
protected function authorized(): bool
protected function authorized($object): bool
{
// TODO Set Authorization rules
return true;