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,13 +3,12 @@
namespace DesignPatterns\More\Delegation;
/**
* Class JuniorDeveloper
* @package DesignPatterns\Delegation
* Class JuniorDeveloper.
*/
class JuniorDeveloper
{
public function writeBadCode()
{
return "Some junior developer generated code...";
return 'Some junior developer generated code...';
}
}

View File

@@ -3,9 +3,7 @@
namespace DesignPatterns\More\Delegation;
/**
* Class TeamLead
* @package DesignPatterns\Delegation
* The `TeamLead` class, he delegate work to `JuniorDeveloper`
* Class TeamLead.
*/
class TeamLead
{
@@ -13,7 +11,8 @@ class TeamLead
protected $slave;
/**
* Give junior developer into teamlead submission
* Give junior developer into teamlead submission.
*
* @param JuniorDeveloper $junior
*/
public function __construct(JuniorDeveloper $junior)
@@ -22,7 +21,8 @@ class TeamLead
}
/**
* TeamLead drink coffee, junior work
* TeamLead drink coffee, junior work.
*
* @return mixed
*/
public function writeCode()

View File

@@ -5,7 +5,7 @@ namespace DesignPatterns\More\Delegation\Tests;
use DesignPatterns\More\Delegation;
/**
* DelegationTest tests the delegation pattern
* DelegationTest tests the delegation pattern.
*/
class DelegationTest extends \PHPUnit_Framework_TestCase
{