php cs fixer

This commit is contained in:
Yisroel Baum 2026-04-19 23:07:48 +03:00
parent 26abaeb739
commit 189493b045
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
17 changed files with 44 additions and 43 deletions

View file

@ -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

View file

@ -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

View file

@ -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;