Skip to content

Commit 360abf3

Browse files
author
Jamie Hannaford
committed
Appease the syntax gods
1 parent ec67a61 commit 360abf3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/OpenCloud/Tests/ObjectStore/Upload/DirectorySyncTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function test_it_uploads_to_a_container()
3434
$guzzleMock = $this->prophet->prophesize('Guzzle\Http\Client');
3535

3636
$guzzleMock->put($baseUrl . '/test1', [], Argument::type('Guzzle\Http\EntityBody'))->shouldBeCalled();
37-
$guzzleMock->send(Argument::that(function($array) { return count($array) === 1; }))->shouldBeCalled();
37+
$guzzleMock->send(Argument::that(function ($array) { return count($array) === 1; }))->shouldBeCalled();
3838

3939
$containerMock->getClient()->willReturn($guzzleMock->reveal());
4040

@@ -63,7 +63,7 @@ public function test_it_uploads_to_a_nested_sub_dir_in_a_container()
6363
$guzzleMock = $this->prophet->prophesize('Guzzle\Http\Client');
6464

6565
$guzzleMock->put($baseUrl . '/sub-dir/test1', [], Argument::type('Guzzle\Http\EntityBody'))->shouldBeCalled();
66-
$guzzleMock->send(Argument::that(function($array) { return count($array) === 1; }))->shouldBeCalled();
66+
$guzzleMock->send(Argument::that(function ($array) { return count($array) === 1; }))->shouldBeCalled();
6767

6868
$containerMock->getClient()->willReturn($guzzleMock->reveal());
6969

@@ -75,4 +75,4 @@ public function test_it_uploads_to_a_nested_sub_dir_in_a_container()
7575

7676
$sync->execute();
7777
}
78-
}
78+
}

0 commit comments

Comments
 (0)