Skip to content

Commit

Permalink
feat: Coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
KminekMatej committed Dec 7, 2024
1 parent 19a4c82 commit bc90d9b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions app/module/autotest/entity/ApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

abstract class ApiTest extends RequestCase
{

abstract public function createRecord() : array;
abstract public function createRecord(): array;

abstract public function mockRecord();

Expand Down
4 changes: 2 additions & 2 deletions app/module/autotest/entity/UITest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ abstract class UITest extends RequestCase
protected IPresenter $presenter;
protected string $presenterName;

protected abstract function getPresenter(): string;
abstract protected function getPresenter(): string;

protected function setUp()
{
Expand All @@ -23,7 +23,7 @@ protected function setUp()

parent::setUp();
}

/**
* Asserts that given selector exists in Dom and return $returnIndex's found instance as DomQuery object
*
Expand Down
4 changes: 2 additions & 2 deletions app/module/autotest/manager/RecordManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ public function createDebt(?array $data = null, ?array $changes = null): array
}

/**
* Create discussion
* Create discussion
* Default config: everyone can read/write, only admin can delete
*
* @return array Created discussion
* @return array Created discussion
*/
public function createDiscussion(?array $data = null, ?array $changes = null): array
{
Expand Down

0 comments on commit bc90d9b

Please sign in to comment.