Improved grammar in HelloCommand.php

Simple grammar fixes. :)
This commit is contained in:
Hassan Althaf
2015-12-18 14:28:27 +05:30
parent 92ad5efca6
commit b024acd0e1

View File

@@ -4,7 +4,7 @@ namespace DesignPatterns\Behavioral\Command;
/**
* This concrete command calls "print" on the Receiver, but an external
* invoker just know he can call "execute"
* invoker just knows that it can call "execute"
*/
class HelloCommand implements CommandInterface
{
@@ -14,8 +14,8 @@ class HelloCommand implements CommandInterface
protected $output;
/**
* Each concrete command is builded with different receivers.
* Can be one, many, none or even other Command in parameters
* Each concrete command is built with different receivers.
* There can be one, many or completely no receivers, but there can be other commands in the parameters.
*
* @param Receiver $console
*/