Skip to content

Commit 6d911e2

Browse files
committed
Fixed CheckStyle issues
1 parent 945ea01 commit 6d911e2

File tree

9 files changed

+32
-1
lines changed

9 files changed

+32
-1
lines changed

src/com/magento/idea/magento2plugin/magento/files/BlockPhp.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
5+
56
package com.magento.idea.magento2plugin.magento.files;
67

78
import com.intellij.lang.Language;
@@ -16,6 +17,9 @@ public class BlockPhp implements ModuleFileInterface {
1617
private static BlockPhp INSTANCE = null;
1718
private String fileName;
1819

20+
/**
21+
* Getter for singleton instance of class.
22+
*/
1923
public static BlockPhp getInstance(String className) {
2024
if (null == INSTANCE) {
2125
INSTANCE = new BlockPhp();

src/com/magento/idea/magento2plugin/magento/files/ComposerJson.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
5+
56
package com.magento.idea.magento2plugin.magento.files;
67

78
import com.intellij.json.JsonLanguage;
@@ -14,6 +15,9 @@ public class ComposerJson implements ModuleFileInterface {
1415
public static String NO_DEPENDENCY_LABEL = "None";
1516
private static ComposerJson INSTANCE = null;
1617

18+
/**
19+
* Getter for singleton instance of class.
20+
*/
1721
public static ComposerJson getInstance() {
1822
if (null == INSTANCE) {
1923
INSTANCE = new ComposerJson();

src/com/magento/idea/magento2plugin/magento/files/CronjobTemplate.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
5+
56
package com.magento.idea.magento2plugin.magento.files;
67

78
import com.intellij.lang.Language;

src/com/magento/idea/magento2plugin/magento/files/CrontabXmlTemplate.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
5+
56
package com.magento.idea.magento2plugin.magento.files;
67

78
import com.intellij.lang.Language;

src/com/magento/idea/magento2plugin/magento/files/ModuleEventsXml.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
5+
56
package com.magento.idea.magento2plugin.magento.files;
67

78
import com.intellij.lang.Language;
@@ -21,6 +22,9 @@ public class ModuleEventsXml implements ModuleFileInterface {
2122

2223
private static ModuleEventsXml INSTANCE = null;
2324

25+
/**
26+
* Getter for singleton instance of class.
27+
*/
2428
public static ModuleEventsXml getInstance() {
2529
if (null == INSTANCE) {
2630
INSTANCE = new ModuleEventsXml();

src/com/magento/idea/magento2plugin/magento/files/ModuleXml.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
5+
56
package com.magento.idea.magento2plugin.magento.files;
67

78
import com.intellij.lang.Language;
@@ -13,6 +14,9 @@ public class ModuleXml implements ModuleFileInterface {
1314
public static String TEMPLATE = "Magento Module XML";
1415
private static ModuleXml INSTANCE = null;
1516

17+
/**
18+
* Getter for singleton instance of class.
19+
*/
1620
public static ModuleXml getInstance() {
1721
if (null == INSTANCE) {
1822
INSTANCE = new ModuleXml();

src/com/magento/idea/magento2plugin/magento/files/PhpPreference.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
5+
56
package com.magento.idea.magento2plugin.magento.files;
67

78
import com.intellij.lang.Language;
@@ -13,6 +14,9 @@ public class PhpPreference implements ModuleFileInterface {
1314
private static PhpPreference INSTANCE = null;
1415
private String fileName;
1516

17+
/**
18+
* Getter for singleton instance of class.
19+
*/
1620
public static PhpPreference getInstance(String className) {
1721
if (null == INSTANCE) {
1822
INSTANCE = new PhpPreference();

src/com/magento/idea/magento2plugin/magento/files/RegistrationPhp.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
5+
56
package com.magento.idea.magento2plugin.magento.files;
67

78
import com.intellij.lang.Language;
@@ -13,6 +14,9 @@ public class RegistrationPhp implements ModuleFileInterface {
1314
public static String REGISTER_METHOD_NAME = "register";
1415
private static RegistrationPhp INSTANCE = null;
1516

17+
/**
18+
* Getter for singleton instance of class.
19+
*/
1620
public static RegistrationPhp getInstance() {
1721
if (null == INSTANCE) {
1822
INSTANCE = new RegistrationPhp();

src/com/magento/idea/magento2plugin/magento/files/ViewModelPhp.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Copyright © Magento, Inc. All rights reserved.
33
* See COPYING.txt for license details.
44
*/
5+
56
package com.magento.idea.magento2plugin.magento.files;
67

78
import com.intellij.lang.Language;
@@ -10,12 +11,16 @@
1011
public class ViewModelPhp implements ModuleFileInterface {
1112
public static String TEMPLATE = "Magento Regular Class";
1213
public static String DEFAULT_DIR = "ViewModel";
13-
public static String INTERFACE_FQN = "Magento\\Framework\\View\\Element\\Block\\ArgumentInterface";
14+
public static String INTERFACE_FQN
15+
= "Magento\\Framework\\View\\Element\\Block\\ArgumentInterface";
1416
public static String INTERFACE_NAME = "ArgumentInterface";
1517

1618
private static ViewModelPhp INSTANCE = null;
1719
private String fileName;
1820

21+
/**
22+
* Getter for singleton instance of class.
23+
*/
1924
public static ViewModelPhp getInstance(String className) {
2025
if (null == INSTANCE) {
2126
INSTANCE = new ViewModelPhp();

0 commit comments

Comments
 (0)