File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
src/Magento/FunctionalTestingFramework/DataGenerator/Persist/Curl Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ abstract class AbstractExecutor implements CurlInterface
2020 */
2121 protected static $ baseUrl = null ;
2222
23+ /**
24+ * Returns base URL for Magento instance
25+ * @return string
26+ */
2327 public function getBaseUrl (): string
2428 {
2529 return getenv ('MAGENTO_BASE_URL ' );
Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ public function __construct($removeBackend)
5656 $ this ->authorize ();
5757 }
5858
59+ /**
60+ * Returns base URL for Magento backend instance
61+ * @return string
62+ */
5963 public function getBaseUrl (): string
6064 {
6165 $ backendHost = getenv ('MAGENTO_BACKEND_BASE_URL ' ) ?: parent ::getBaseUrl ();
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function __construct($storeCode = null)
6565 }
6666
6767 /**
68- * Returns WebApi base URL, fallback to Magento Base URL
68+ * Returns base URL for Magento Web API instance
6969 * @return string
7070 */
7171 public function getBaseUrl (): string
You can’t perform that action at this time.
0 commit comments