Merge pull request #130 from nueckman/codestyle-1

codestyle - remove trailing whitespaces
This commit is contained in:
Dominik Liebler
2015-04-09 21:40:48 +02:00
41 changed files with 40 additions and 65 deletions

View File

@@ -6,10 +6,10 @@ namespace DesignPatterns\Behavioral\Visitor;
* Visitor Pattern
*
* The contract for the visitor.
*
*
* Note 1 : in C++ or java, with method polymorphism based on type-hint, there are many
* methods visit() with different type for the 'role' parameter.
*
*
* Note 2 : the visitor must not choose itself which method to
* invoke, it is the Visitee that make this decision.
*/
@@ -17,14 +17,14 @@ interface RoleVisitorInterface
{
/**
* Visit a User object
*
*
* @param \DesignPatterns\Behavioral\Visitor\User $role
*/
public function visitUser(User $role);
/**
* Visit a Group object
*
*
* @param \DesignPatterns\Behavioral\Visitor\Group $role
*/
public function visitGroup(Group $role);