Skip to content

Commit 7a5777b

Browse files
committed
Fix code smells
1 parent dbbf01b commit 7a5777b

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

src/ActiveFixture.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ActiveFixture extends BaseActiveFixture
3131
protected $table;
3232

3333
/**
34-
* @inheritdoc
34+
* {@inheritdoc}
3535
*/
3636
public function load(): void
3737
{
@@ -53,7 +53,7 @@ public function load(): void
5353
}
5454

5555
/**
56-
* @inheritdoc
56+
* {@inheritdoc}
5757
*/
5858
public function unload(): void
5959
{
@@ -76,8 +76,6 @@ protected function resetTable(): void
7676
* Returns the table name for [[modelClass]]
7777
*
7878
* @throws Exception
79-
*
80-
* @return string
8179
*/
8280
protected function getTable(): string
8381
{

src/BaseActiveFixture.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ abstract class BaseActiveFixture extends Fixture implements IteratorAggregate, A
3131
public $dataFile;
3232

3333
/**
34-
* @inheritdoc
34+
* {@inheritdoc}
3535
*/
3636
public function load(): void
3737
{
3838
$this->data = $this->getData();
3939
}
4040

4141
/**
42-
* @inheritdoc
42+
* {@inheritdoc}
4343
*/
4444
public function unload(): void
4545
{
@@ -73,8 +73,6 @@ protected function getData(): array
7373

7474
/**
7575
* Returns the fixture data file path.
76-
*
77-
* @return string
7876
*/
7977
protected function resolveDataFilePath(): string
8078
{

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
abstract class TestCase extends BaseTestCase
1414
{
1515
/**
16-
* @inheritdoc
16+
* {@inheritdoc}
1717
*/
1818
public function setUp(): void
1919
{

tests/UserFixture.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ class UserFixture extends ActiveFixture
1818

1919
/**
2020
* Returns the fixture data file path.
21-
*
22-
* @return string
2321
*/
2422
protected function resolveDataFilePath(): string
2523
{

0 commit comments

Comments
 (0)