mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-13 10:24:00 +02:00
Merge pull request #130 from nueckman/codestyle-1
codestyle - remove trailing whitespaces
This commit is contained in:
@@ -17,7 +17,6 @@ class BikeBuilder implements BuilderInterface
|
||||
*/
|
||||
public function addDoors()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -4,8 +4,8 @@ namespace DesignPatterns\Creational\Builder;
|
||||
|
||||
/**
|
||||
* Director is part of the builder pattern. It knows the interface of the builder
|
||||
* and builds a complex object with the help of the builder.
|
||||
*
|
||||
* and builds a complex object with the help of the builder.
|
||||
*
|
||||
* You can also inject many builders instead of one to build more complex objects
|
||||
*/
|
||||
class Director
|
||||
|
@@ -7,5 +7,4 @@ namespace DesignPatterns\Creational\Builder\Parts;
|
||||
*/
|
||||
class Bike extends Vehicle
|
||||
{
|
||||
|
||||
}
|
||||
|
@@ -7,5 +7,4 @@ namespace DesignPatterns\Creational\Builder\Parts;
|
||||
*/
|
||||
class Car extends Vehicle
|
||||
{
|
||||
|
||||
}
|
||||
|
@@ -7,5 +7,4 @@ namespace DesignPatterns\Creational\Builder\Parts;
|
||||
*/
|
||||
class Door
|
||||
{
|
||||
|
||||
}
|
||||
|
@@ -7,5 +7,4 @@ namespace DesignPatterns\Creational\Builder\Parts;
|
||||
*/
|
||||
class Engine
|
||||
{
|
||||
|
||||
}
|
||||
|
@@ -7,5 +7,4 @@ namespace DesignPatterns\Creational\Builder\Parts;
|
||||
*/
|
||||
class Wheel
|
||||
{
|
||||
|
||||
}
|
||||
|
@@ -31,7 +31,7 @@ class DirectorTest extends \PHPUnit_Framework_TestCase
|
||||
/**
|
||||
* Here we test the build process. Notice that the client don't know
|
||||
* anything about the concrete builder.
|
||||
*
|
||||
*
|
||||
* @dataProvider getBuilder
|
||||
*/
|
||||
public function testBuild(BuilderInterface $builder)
|
||||
|
Reference in New Issue
Block a user