File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Developer/Model/XmlCatalog/Format Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 18
18
*/
19
19
class PhpStorm implements FormatInterface
20
20
{
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 ' ;
23
23
24
24
/**
25
25
* @var ReadInterface
@@ -141,7 +141,7 @@ private function initEmptyFile(\DOMDocument $dom)
141
141
* @param string $configFilePath
142
142
* @return string
143
143
*/
144
- public function resolveProjectPath ($ configFilePath ): string
144
+ private function resolveProjectPath ($ configFilePath ): string
145
145
{
146
146
return \str_replace ('/ ' . self ::IDEA_PATH , '' , realpath (dirname ($ configFilePath )));
147
147
}
@@ -153,7 +153,7 @@ public function resolveProjectPath($configFilePath): string
153
153
* @param string $xsdPath
154
154
* @return string
155
155
*/
156
- public function getFileLocationInProject (string $ ideaDir , string $ xsdPath ): string
156
+ private function getFileLocationInProject (string $ ideaDir , string $ xsdPath ): string
157
157
{
158
158
return \str_replace ($ ideaDir , self ::PROJECT_PATH_IDENTIFIER , $ xsdPath );
159
159
}
You can’t perform that action at this time.
0 commit comments