1
0
mirror of https://github.com/danog/amp.git synced 2025-01-22 13:21:16 +01:00

Fix code style

This commit is contained in:
Aaron Piotrowski 2017-06-05 00:10:13 -05:00
parent 02eb0340f1
commit b354b04779
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ try {
private $fail;
public function __construct() {
$this->promise = new class (function (callable $resolve, callable $fail) {
$this->promise = new class(function (callable $resolve, callable $fail) {
$this->resolve = $resolve;
$this->fail = $fail;
}) implements Promise {

View File

@ -26,7 +26,7 @@ try {
private $fail;
public function __construct() {
$this->iterator = new class (function (callable $emit, callable $complete, callable $fail) {
$this->iterator = new class(function (callable $emit, callable $complete, callable $fail) {
$this->emit = $emit;
$this->complete = $complete;
$this->fail = $fail;