mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-13 02:14:04 +02:00
Applied fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
3663603b80
commit
fe1f144ec3
@@ -2,15 +2,12 @@
|
||||
|
||||
namespace DesignPatterns\Behavioral\Mediator;
|
||||
|
||||
use DesignPatterns\Behavioral\Mediator\Subsystem;
|
||||
|
||||
/**
|
||||
* Mediator is the concrete Mediator for this design pattern.
|
||||
* In this example, I have made a "Hello World" with the Mediator Pattern.
|
||||
*/
|
||||
class Mediator implements MediatorInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* @var Subsystem\Server
|
||||
*/
|
||||
@@ -39,7 +36,7 @@ class Mediator implements MediatorInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* make request
|
||||
* make request.
|
||||
*/
|
||||
public function makeRequest()
|
||||
{
|
||||
@@ -47,7 +44,8 @@ class Mediator implements MediatorInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* query db
|
||||
* query db.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function queryDb()
|
||||
@@ -56,7 +54,7 @@ class Mediator implements MediatorInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* send response
|
||||
* send response.
|
||||
*
|
||||
* @param string $content
|
||||
*/
|
||||
|
Reference in New Issue
Block a user