Skip to content

Commit e126871

Browse files
1011: code refactoring
1 parent cd5fa7e commit e126871

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

resources/fileTemplates/internal/Magento Collection Class.php.ft

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ${NAME}#if (${EXTENDS}) extends ${EXTENDS}#end#if (${IMPLEMENTS}) implemen
1717
protected $_eventPrefix = '${DB_NAME}_collection';
1818

1919
/**
20-
* Initialize resource model.
20+
* Initialize collection model.
2121
*/
2222
protected function _construct()
2323
{

resources/fileTemplates/internal/Magento Grid Ui Component Action Column Class.php.ft

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class ${CLASS_NAME} extends ${PARENT_CLASS}
5353
}
5454

5555
/**
56-
* Prepare Data Source.
56+
* Prepare data source.
5757
*
5858
* @param array $dataSource
5959
*

resources/fileTemplates/internal/Magento Model Class.php.ft

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ${NAME}#if (${EXTENDS}) extends ${EXTENDS}#end#if (${IMPLEMENTS}) implemen
1717
protected $_eventPrefix = '${DB_NAME}_model';
1818

1919
/**
20-
* Initialize resource.
20+
* Initialize magento model.
2121
*
2222
* @return void
2323
*/

resources/fileTemplates/internal/Magento Resource Model Class.php.ft

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ${NAME}#if (${EXTENDS}) extends ${EXTENDS}#end#if (${IMPLEMENTS}) implemen
1717
protected $_eventPrefix = '${DB_NAME}_resource_model';
1818

1919
/**
20-
* Init resource model.
20+
* Initialize resource model.
2121
*/
2222
protected function _construct()
2323
{

resources/fileTemplates/internal/Magento UI Component Custom Data Provider Class.php.ft

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class ${CLASS_NAME} extends ${EXTENDS}
7676
}
7777

7878
/**
79-
* Returns Search result.
79+
* Returns searching result.
8080
*
8181
* @return ${SEARCH_RESULT_FACTORY}
8282
*/

testData/actions/generation/generator/GridActionColumnFileGenerator/generateGridActionColumnFile/BookBlockActions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function __construct(
5454
}
5555

5656
/**
57-
* Prepare Data Source.
57+
* Prepare data source.
5858
*
5959
* @param array $dataSource
6060
*

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-
* Initialize resource model.
17+
* Initialize collection 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-
* Initialize resource model.
17+
* Initialize collection model.
1818
*/
1919
protected function _construct()
2020
{

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

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

1515
/**
16-
* Initialize resource.
16+
* Initialize magento model.
1717
*
1818
* @return void
1919
*/

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

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

1515
/**
16-
* Initialize resource.
16+
* Initialize magento model.
1717
*
1818
* @return void
1919
*/

0 commit comments

Comments
 (0)