Update closure syntax for StyleCI check
This commit is contained in:
1 parent
92a4833e11
commit
0fc25932db
1 file changed
+1
-1
@@ -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];
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user