Skip to content

Commit

Permalink
fixed more short array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkhill committed Apr 1, 2015
1 parent 1161e14 commit 16faf0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Charts/BarChartTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public function testHorizontalAxesWithBadTypes($badTypes)
*/
public function testHorizontalAxesWithArrayOfBadTypes()
{
$this->bc->hAxes([1, 4.5, 'salmon']);
$this->bc->hAxes(array(1, 4.5, 'salmon'));
}

public function testHorizontalAxis()
Expand Down Expand Up @@ -271,7 +271,7 @@ public function testSeriesWithBadTypes($badTypes)
*/
public function testSeriesWithArrayOfBadTypes()
{
$this->bc->series([array(), 4, 8.7]);
$this->bc->series(array(4, array(), 8.7));
}

public function testTheme()
Expand Down Expand Up @@ -321,7 +321,7 @@ public function testVerticalAxesWithBadTypes($badTypes)
*/
public function testVerticalAxesWithArrayOfBadTypes()
{
$this->bc->vAxes([false, 'truth']);
$this->bc->vAxes(array(false, 'truth'));
}

public function testVerticalAxis()
Expand Down

0 comments on commit 16faf0e

Please sign in to comment.