Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/ServiceLocatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function testRetrievingAServiceMultipleTimesReturnsSameInstance()

public function testRegisteringCallbacksReturnsReturnValueWhenServiceRequested()
{
$this->services->set('foo', function() {
$this->services->set('foo', function () {
$object = new \stdClass();
$object->foo = 'FOO';
return $object;
Expand All @@ -68,7 +68,7 @@ public function testRegisteringCallbacksReturnsReturnValueWhenServiceRequested()

public function testReturnValueOfCallbackIsCachedBetweenRequestsToService()
{
$this->services->set('foo', function() {
$this->services->set('foo', function () {
$object = new \stdClass();
$object->foo = 'FOO';
return $object;
Expand All @@ -81,7 +81,7 @@ public function testReturnValueOfCallbackIsCachedBetweenRequestsToService()

public function testParametersArePassedToCallbacks()
{
$this->services->set('foo', function() {
$this->services->set('foo', function () {
$object = new \stdClass();
$object->params = func_get_args();
return $object;
Expand Down

0 comments on commit c8f7092

Please sign in to comment.