Skip to content

Commit acabcca

Browse files
committed
Root namespace appended for microtime
1 parent e86580a commit acabcca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Helper/Shell.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function checkTimeout()
122122
return;
123123
}
124124

125-
$execution_duration = microtime(true) - $this->processStartTime;
125+
$execution_duration = \microtime(true) - $this->processStartTime;
126126

127127
if ($execution_duration > $this->processTimeoutPeriod) {
128128
$this->stop();
@@ -149,7 +149,7 @@ public function execute($async = false)
149149

150150
$this->setInput();
151151
$this->updateProcessStatus();
152-
$this->processStartTime = microtime(true);
152+
$this->processStartTime = \microtime(true);
153153

154154
if ($this->async = $async) {
155155
$this->setOutputStreamNonBlocking();

0 commit comments

Comments
 (0)