Applied fixes from StyleCI

This commit is contained in:
Dominik Liebler
2015-12-21 07:28:20 -05:00
committed by StyleCI Bot
parent 3663603b80
commit fe1f144ec3
167 changed files with 510 additions and 517 deletions

View File

@@ -3,7 +3,7 @@
namespace DesignPatterns\Behavioral\Command;
/**
* class CommandInterface
* class CommandInterface.
*/
interface CommandInterface
{

View File

@@ -4,7 +4,7 @@ namespace DesignPatterns\Behavioral\Command;
/**
* This concrete command calls "print" on the Receiver, but an external
* invoker just knows that it can call "execute"
* invoker just knows that it can call "execute".
*/
class HelloCommand implements CommandInterface
{
@@ -25,7 +25,7 @@ class HelloCommand implements CommandInterface
}
/**
* execute and output "Hello World"
* execute and output "Hello World".
*/
public function execute()
{

View File

@@ -4,7 +4,7 @@ namespace DesignPatterns\Behavioral\Command;
/**
* Invoker is using the command given to it.
* Example : an Application in SF2
* Example : an Application in SF2.
*/
class Invoker
{
@@ -25,7 +25,7 @@ class Invoker
}
/**
* executes the command
* executes the command.
*/
public function run()
{

View File

@@ -3,7 +3,7 @@
namespace DesignPatterns\Behavioral\Command;
/**
* Receiver is specific service with its own contract and can be only concrete
* Receiver is specific service with its own contract and can be only concrete.
*/
class Receiver
{

View File

@@ -2,16 +2,15 @@
namespace DesignPatterns\Behavioral\Command\Tests;
use DesignPatterns\Behavioral\Command\HelloCommand;
use DesignPatterns\Behavioral\Command\Invoker;
use DesignPatterns\Behavioral\Command\Receiver;
use DesignPatterns\Behavioral\Command\HelloCommand;
/**
* CommandTest has the role of the Client in the Command Pattern
* CommandTest has the role of the Client in the Command Pattern.
*/
class CommandTest extends \PHPUnit_Framework_TestCase
{
/**
* @var Invoker
*/