Skip to content

Commit

Permalink
phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
ueaner committed Mar 2, 2018
1 parent 07940df commit 363ed48
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions examples/Soli/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,11 @@ public function bind()

$service = $this;

$this->defer
? function () use ($service) {
return $service->register();
}
: $service->register();

$this->container->set(
$this->id,
$this->defer ? function () use ($service) { return $service->register(); } : $service->register()
$this->defer ? function () use ($service) {
return $service->register();
} : $service->register()
);
}
}

0 comments on commit 363ed48

Please sign in to comment.