From fdf18dedd721cf556d25ed077ac71561532109f3 Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Tue, 16 May 2017 20:08:27 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20tabs=20=E2=86=92=20spaces?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/Loop/UvLoopDestructShutdown.phpt | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/test/Loop/UvLoopDestructShutdown.phpt b/test/Loop/UvLoopDestructShutdown.phpt index df68d2d2..bd6a9dd2 100644 --- a/test/Loop/UvLoopDestructShutdown.phpt +++ b/test/Loop/UvLoopDestructShutdown.phpt @@ -11,18 +11,18 @@ include __DIR__.'/../../vendor/autoload.php'; use Amp\Loop; -Loop::run(function() { - Loop::setState('test', new class { - private $handle; - function __construct() { - $this->handle = Loop::repeat(10, function() {}); - } - function __destruct() { - Loop::cancel($this->handle); - print "ok"; - } - }); - Loop::delay(0, [Loop::class, "stop"]); +Loop::run(function () { + Loop::setState('test', new class { + private $handle; + public function __construct() { + $this->handle = Loop::repeat(10, function () {}); + } + public function __destruct() { + Loop::cancel($this->handle); + print "ok"; + } + }); + Loop::delay(0, [Loop::class, "stop"]); }); ?>