Skip to content

Commit c96770f

Browse files
authored
Locator getter $path
1 parent b4a850e commit c96770f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/JoomlaBrowser.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,14 @@ protected function instantiateLocator()
107107
* @return mixed|false
108108
* @since 3.8.11
109109
*/
110-
public function getLocatorPath($locator)
110+
public function getLocatorPath($path)
111111
{
112-
if (!isset($this->locator->$locator))
112+
if (!isset($this->locator->$path))
113113
{
114114
return false;
115115
}
116116

117-
return $this->locator->$locator;
117+
return $this->locator->$path;
118118
}
119119

120120
/**

0 commit comments

Comments
 (0)