Skip to content

Commit c80e35b

Browse files
committed
1011: Updated testing files
1 parent 2bd35f6 commit c80e35b

File tree

11 files changed

+41
-14
lines changed

11 files changed

+41
-14
lines changed

testData/actions/generation/generator/CLICommandClassGenerator/generateCLICommandClass/TestCLICommandPHPClass.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?php
22

3+
34
namespace Foo\Bar\Console\Command;
45

6+
57
use Symfony\Component\Console\Command\Command;
68
use Symfony\Component\Console\Input\InputInterface;
79
use Symfony\Component\Console\Output\OutputInterface;

testData/actions/generation/generator/DataModelGenerator/generateDataModel/Sample.php

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
class Sample extends DataObject implements SampleInterface
99
{
1010
/**
11-
* @inheritDoc
11+
* Getter for IdProperty.
12+
*
13+
* @return int|null
1214
*/
1315
public function getIdProperty(): ?int
1416
{
@@ -17,23 +19,33 @@ public function getIdProperty(): ?int
1719
}
1820

1921
/**
20-
* @inheritDoc
22+
* Setter for IdProperty.
23+
*
24+
* @param int|null $idProperty
25+
*
26+
* @return void
2127
*/
2228
public function setIdProperty(?int $idProperty): void
2329
{
2430
$this->setData(self::ID_PROPERTY, $idProperty);
2531
}
2632

2733
/**
28-
* @inheritDoc
34+
* Getter for SampleProperty.
35+
*
36+
* @return string|null
2937
*/
3038
public function getSampleProperty(): ?string
3139
{
3240
return $this->getData(self::SAMPLE_PROPERTY);
3341
}
3442

3543
/**
36-
* @inheritDoc
44+
* Setter for SampleProperty.
45+
*
46+
* @param string|null $sampleProperty
47+
*
48+
* @return void
3749
*/
3850
public function setSampleProperty(?string $sampleProperty): void
3951
{

testData/actions/generation/generator/ModuleCollectionGenerator/generateFile/TestCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TestCollection extends AbstractCollection
1414
protected $_eventPrefix = 'my_table_collection';
1515

1616
/**
17-
* @inheritdoc
17+
* Initialize resource model
1818
*/
1919
protected function _construct()
2020
{

testData/actions/generation/generator/ModuleCollectionGenerator/generateWithTheSameNamesForResourceModelAndModel/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Collection extends AbstractCollection
1414
protected $_eventPrefix = 'my_table_collection';
1515

1616
/**
17-
* @inheritdoc
17+
* Initialize resource model
1818
*/
1919
protected function _construct()
2020
{

testData/actions/generation/generator/ModuleModelGenerator/generateFile/TestModel.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ class TestModel extends AbstractModel
1313
protected $_eventPrefix = 'my_table_model';
1414

1515
/**
16-
* @inheritdoc
16+
* Initialize resource
17+
*
18+
* @return void
1719
*/
1820
protected function _construct()
1921
{

testData/actions/generation/generator/ModuleModelGenerator/generateWithTheSameNameForResourceModel/Test.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ class Test extends AbstractModel
1313
protected $_eventPrefix = 'my_table_model';
1414

1515
/**
16-
* @inheritdoc
16+
* Initialize resource
17+
*
18+
* @return void
1719
*/
1820
protected function _construct()
1921
{

testData/actions/generation/generator/ModuleResourceModelGenerator/generateFile/TestResourceModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class TestResourceModel extends AbstractDb
1212
protected $_eventPrefix = 'my_table_resource_model';
1313

1414
/**
15-
* @inheritdoc
15+
* Init resource model
1616
*/
1717
protected function _construct()
1818
{

testData/actions/generation/generator/ModuleResourceModelGenerator/generateFileWithDtoReference/TestResourceModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class TestResourceModel extends AbstractDb
1313
protected $_eventPrefix = 'my_table_resource_model';
1414

1515
/**
16-
* @inheritdoc
16+
* Init resource model
1717
*/
1818
protected function _construct()
1919
{

testData/actions/generation/generator/SearchResultsFilesGenerator/generateSearchResultsFile/BookSearchResults.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,20 @@
1111
class BookSearchResults extends SearchResults implements BookSearchResultsInterface
1212
{
1313
/**
14-
* @inheritDoc
14+
* Set items list.
15+
*
16+
* @param array $items
17+
* @return BookSearchResultsInterface
1518
*/
1619
public function setItems(array $items): BookSearchResultsInterface
1720
{
1821
return parent::setItems($items);
1922
}
2023

2124
/**
22-
* @inheritDoc
25+
* Get items list.
26+
*
27+
* @return array
2328
*/
2429
public function getItems(): array
2530
{

testData/actions/generation/generator/UiComponentGridDataProviderGenerator/generateCustomDataProvider/GridDataProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
class GridDataProvider extends DataProvider
1111
{
1212
/**
13-
* @inheritDoc
13+
* Get data.
14+
*
15+
* @return array
1416
*/
1517
public function getData()
1618
{

0 commit comments

Comments
 (0)