We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08f4eb2 commit 2c32b8bCopy full SHA for 2c32b8b
src/MailtrapWait.php
@@ -38,20 +38,20 @@ public function __construct(Mailtrap $mailtrap, $timeout_in_second = null, $inte
38
/**
39
* Calls the function provided with the driver as an argument until the return value is not falsey.
40
*
41
- * @param callable $func_or_ec
+ * @param callable $function
42
* @param string $message
43
44
* @throws \Exception
45
- * @return mixed The return value of $func_or_ec
+ * @return mixed The return value of $function
46
*/
47
- public function until($func_or_ec, $message = '')
+ public function until($function, $message = '')
48
{
49
$end = microtime(true) + $this->timeout;
50
$last_exception = null;
51
52
while ( $end > microtime( true ) ) {
53
try {
54
- $ret_val = call_user_func( $func_or_ec, $this->mailtrap );
+ $ret_val = call_user_func( $function, $this->mailtrap );
55
if ( $ret_val ) {
56
return $ret_val;
57
}
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments