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

Commit

Permalink
[zendframework/zendframework#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 f626fcd commit 97e7e4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/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 97e7e4c

Please sign in to comment.