Update closure syntax for StyleCI check

This commit is contained in:
James Alday committed 2016-06-10 14:03:38 -04:00
1 parent 92a4833e11
commit 0fc25932db
1 file changed
+1 -1
+1 -1
View File
@@ -103,7 +103,7 @@ class HtmlBuilderTest extends PHPUnit_Framework_TestCase
public function testMailto()
{
$htmlBuilder = m::mock('Collective\Html\HtmlBuilder[obfuscate,email]', [$this->urlGenerator, $this->viewFactory]);
$htmlBuilder->shouldReceive('obfuscate', 'email')->andReturnUsing(function() {
$htmlBuilder->shouldReceive('obfuscate', 'email')->andReturnUsing(function () {
$args = func_get_args();
return $args[0];
});