mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-25 17:21:19 +02:00
codestyle - remove trailing whitespaces
This commit is contained in:
@@ -12,7 +12,6 @@ class Book implements PaperBookInterface
|
||||
*/
|
||||
public function open()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -20,6 +19,5 @@ class Book implements PaperBookInterface
|
||||
*/
|
||||
public function turnPage()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -4,7 +4,7 @@ namespace DesignPatterns\Structural\Adapter;
|
||||
|
||||
/**
|
||||
* EBookAdapter is an adapter to fit an e-book like a paper book
|
||||
*
|
||||
*
|
||||
* This is the adapter here. Notice it implements PaperBookInterface,
|
||||
* therefore you don't have to change the code of the client which using paper book.
|
||||
*/
|
||||
|
@@ -12,7 +12,6 @@ class Kindle implements EBookInterface
|
||||
*/
|
||||
public function pressNext()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -20,6 +19,5 @@ class Kindle implements EBookInterface
|
||||
*/
|
||||
public function pressStart()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -21,7 +21,7 @@ abstract class Decorator implements RendererInterface
|
||||
/**
|
||||
* You must type-hint the wrapped component :
|
||||
* It ensures you can call renderData() in the subclasses !
|
||||
*
|
||||
*
|
||||
* @param RendererInterface $wrappable
|
||||
*/
|
||||
public function __construct(RendererInterface $wrappable)
|
||||
|
@@ -46,7 +46,7 @@ class DecoratorTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* Second key-point of this pattern : the decorator is type-hinted
|
||||
*
|
||||
*
|
||||
* @expectedException \PHPUnit_Framework_Error
|
||||
*/
|
||||
public function testDecoratorTypeHinted()
|
||||
|
@@ -4,7 +4,7 @@ namespace DesignPatterns\Structural\Facade;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
class Facade
|
||||
{
|
||||
|
@@ -66,7 +66,7 @@ class Sql
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the query, just an example of building a query,
|
||||
* Gets the query, just an example of building a query,
|
||||
* no check on consistency
|
||||
*
|
||||
* @return string
|
||||
|
Reference in New Issue
Block a user