Skip to content

Commit

Permalink
Remove obsolete boolean cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Stratadox committed Jul 1, 2017
1 parent 2761327 commit 019d1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function set(
) {
$this->services[$serviceName] = null;
$this->factories[$serviceName] = $factory;
$this->useCache[$serviceName] = (bool) $useCache;
$this->useCache[$serviceName] = $useCache;
}

public function forget(string $serviceName)
Expand Down

0 comments on commit 019d1e4

Please sign in to comment.