mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-25 13:59:08 +02:00
remove Interface-Suffix
This commit is contained in:
@@ -20,7 +20,7 @@ class User implements Role
|
||||
return sprintf('User %s', $this->name);
|
||||
}
|
||||
|
||||
public function accept(RoleVisitorInterface $visitor)
|
||||
public function accept(RoleVisitor $visitor)
|
||||
{
|
||||
$visitor->visitUser($this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user