Skip to content

Commit c6a7360

Browse files
committed
Add params to phpdoc
1 parent a2138d0 commit c6a7360

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

dev/tests/verification/Resources/BasicFunctionalTest.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class BasicFunctionalTestCest
113113
$generateDateKey2 = $date->format("H:i:s");
114114

115115
$getOtp = $I->getOTP(); // stepKey: getOtp
116-
$getOtp = $I->getOTP("someInput"); // stepKey: getOtpWithInput
116+
$getOtpWithInput = $I->getOTP("someInput"); // stepKey: getOtpWithInput
117117
$grabAttributeFromKey1 = $I->grabAttributeFrom(".functionalTestSelector", "someInput"); // stepKey: grabAttributeFromKey1
118118
$grabCookieKey1 = $I->grabCookie("grabCookieInput", ['domain' => 'www.google.com']); // stepKey: grabCookieKey1
119119
$grabFromCurrentUrlKey1 = $I->grabFromCurrentUrl("/grabCurrentUrl"); // stepKey: grabFromCurrentUrlKey1

src/Magento/FunctionalTestingFramework/DataTransport/Auth/Tfa/OTP.php

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class OTP
2727
/**
2828
* Return OTP for custom secret stored in `magento/tfa/OTP_SHARED_SECRET`
2929
*
30+
* @param string $path
3031
* @return string
3132
* @throws TestFrameworkException
3233
*/

src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ public function makeScreenshot($name = null)
970970
/**
971971
* Return OTP based on a shared secret
972972
*
973-
* @param $secretsPath
973+
* @param string $secretsPath
974974
* @return string
975975
* @throws TestFrameworkException
976976
*/

0 commit comments

Comments
 (0)