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

Commit

Permalink
[#6576] do not use short array syntax
Browse files Browse the repository at this point in the history
- as we still support 5.3.
  • Loading branch information
weierophinney committed Aug 20, 2014
1 parent 05e0a41 commit 35b160b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ZendTest/Validator/BarcodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public function testSetAdapter()

public function testSetCustomAdapter()
{
$barcode = new Barcode([
$barcode = new Barcode(array(
'adapter' => $this->getMock('Zend\Validator\Barcode\AdapterInterface')
]);
));

$this->assertInstanceOf('Zend\Validator\Barcode\AdapterInterface', $barcode->getAdapter());
}
Expand Down

0 comments on commit 35b160b

Please sign in to comment.