Skip to content

Commit d269ddd

Browse files
committed
Converted internals to private methods
* internally used code is no longer public
1 parent 79a1087 commit d269ddd

File tree

1 file changed

+4
-4
lines changed
  • app/code/Magento/Developer/Model/XmlCatalog/Format

1 file changed

+4
-4
lines changed

app/code/Magento/Developer/Model/XmlCatalog/Format/PhpStorm.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
*/
1919
class PhpStorm implements FormatInterface
2020
{
21-
const PROJECT_PATH_IDENTIFIER = '$PROJECT_DIR$';
22-
const IDEA_PATH = '.idea';
21+
private const PROJECT_PATH_IDENTIFIER = '$PROJECT_DIR$';
22+
private const IDEA_PATH = '.idea';
2323

2424
/**
2525
* @var ReadInterface
@@ -141,7 +141,7 @@ private function initEmptyFile(\DOMDocument $dom)
141141
* @param string $configFilePath
142142
* @return string
143143
*/
144-
public function resolveProjectPath($configFilePath): string
144+
private function resolveProjectPath($configFilePath): string
145145
{
146146
return \str_replace('/' . self::IDEA_PATH, '', realpath(dirname($configFilePath)));
147147
}
@@ -153,7 +153,7 @@ public function resolveProjectPath($configFilePath): string
153153
* @param string $xsdPath
154154
* @return string
155155
*/
156-
public function getFileLocationInProject(string $ideaDir, string $xsdPath): string
156+
private function getFileLocationInProject(string $ideaDir, string $xsdPath): string
157157
{
158158
return \str_replace($ideaDir, self::PROJECT_PATH_IDENTIFIER, $xsdPath);
159159
}

0 commit comments

Comments
 (0)