1
0
mirror of https://github.com/danog/amp.git synced 2024-11-30 04:29:08 +01:00

Remove missed wrap call

This commit is contained in:
Aaron Piotrowski 2017-03-10 16:23:29 -06:00
parent 1fea860a05
commit 85de9f1f1e

View File

@ -47,7 +47,7 @@ final class Loop {
*/ */
public static function run(callable $callback = null) { public static function run(callable $callback = null) {
if ($callback) { if ($callback) {
self::$driver->defer(wrap($callback)); self::$driver->defer($callback);
} }
self::$driver->run(); self::$driver->run();