Skip to content

Conversation

bohdan-harniuk
Copy link
Collaborator

Description (*)
Added save entity command service generation and covered with the test case.

Screenshot 2021-01-27 at 00 01 02

Screenshot 2021-01-27 at 00 12 20

Screenshot 2021-01-27 at 00 11 51

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with integration/functional tests (if applicable)
  • All automated tests passed successfully (all builds are green)

*
* @return SaveEntityCommandFile
*/
public static SaveEntityCommandFile getInstance() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No singletons. And this is not actually a singleton 🤣

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets use just a constructor.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, thank you!)

import org.jetbrains.annotations.NotNull;

public enum PhpCoreType {
EXCEPTION("Exception");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Entire Enum for the only one constant?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants