php cs fixer
This commit is contained in:
parent
26abaeb739
commit
189493b045
17 changed files with 44 additions and 43 deletions
|
|
@ -14,7 +14,7 @@ class JsonNodeRepository implements NodeRepository
|
|||
public function __construct(
|
||||
private TextRepository $textRepository,
|
||||
) {
|
||||
$this->filePath = __DIR__.'/../../data/nodes.json';
|
||||
$this->filePath = __DIR__ . '/../../data/nodes.json';
|
||||
}
|
||||
|
||||
public function create(CreateNodeDto $dto): Node
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ class JsonTextRepository implements TextRepository
|
|||
|
||||
public function __construct()
|
||||
{
|
||||
$this->filePath = __DIR__.'/../../data/texts.json';
|
||||
$this->filePath = __DIR__ . '/../../data/texts.json';
|
||||
}
|
||||
|
||||
public function create(CreateTextDto $dto): Text
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ class ViewController
|
|||
{
|
||||
public function admin(Response $response): Response
|
||||
{
|
||||
$html = file_get_contents(__DIR__.'/../../views/templates/admin.php', true);
|
||||
$html = file_get_contents(__DIR__ . '/../../views/templates/admin.php', true);
|
||||
$response->getBody()->write($html);
|
||||
|
||||
return $response;
|
||||
|
|
@ -16,7 +16,7 @@ class ViewController
|
|||
|
||||
public function texts(Response $response): Response
|
||||
{
|
||||
$html = file_get_contents(__DIR__.'/../../views/templates/texts.php', true);
|
||||
$html = file_get_contents(__DIR__ . '/../../views/templates/texts.php', true);
|
||||
$response->getBody()->write($html);
|
||||
|
||||
return $response;
|
||||
|
|
@ -24,7 +24,7 @@ class ViewController
|
|||
|
||||
public function text(Response $response): Response
|
||||
{
|
||||
$html = file_get_contents(__DIR__.'/../../views/templates/text.php', true);
|
||||
$html = file_get_contents(__DIR__ . '/../../views/templates/text.php', true);
|
||||
$response->getBody()->write($html);
|
||||
|
||||
return $response;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue