File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
dev/tests/functional/tests/app/Magento/Backend/Test/Block/System/Config Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ public function save()
117
117
* @param string $tabName
118
118
* @return string
119
119
*/
120
- private function getTabUrl ($ tabName )
120
+ private function getTabUrl ($ tabName )
121
121
{
122
122
$ tabIndex = 'index/section/ ' . $ tabName ;
123
123
if (strpos ($ this ->baseUrl , '/key/ ' ) !== false ) {
@@ -126,11 +126,9 @@ private function getTabUrl($tabName)
126
126
* or somewhere else in url additionally.
127
127
*/
128
128
$ tabUrl = str_replace ('/index/ ' , '/ ' . $ tabIndex . '/ ' , $ this ->baseUrl );
129
- }
130
- elseif (strpos ($ this ->baseUrl , '/edit/ ' ) !== false ) {
129
+ } elseif (strpos ($ this ->baseUrl , '/edit/ ' ) !== false ) {
131
130
$ tabUrl = str_replace ('/edit/ ' , '/ ' . $ tabIndex . '/ ' , $ this ->baseUrl );
132
- }
133
- else {
131
+ } else {
134
132
$ tabUrl = $ this ->baseUrl . $ tabIndex ;
135
133
}
136
134
You can’t perform that action at this time.
0 commit comments