Fix short array syntax and backwards test

This commit is contained in:
Kijin Sung 2016-03-17 17:41:03 +09:00
parent 475c8d49a9
commit 509893e791
2 changed files with 2 additions and 2 deletions

View file

@ -119,7 +119,7 @@ class Calendar
$return = array();
for ($i = 0; $i < 6; $i++)
{
$week = [];
$week = array();
for ($j = 0; $j < 7; $j++)
{
$week[] = array_shift($temp);

View file

@ -25,7 +25,7 @@ class TimerTest extends \Codeception\TestCase\Test
$t4 = Rhymix\Framework\Timer::stop();
$this->assertGreaterThanOrEqual($t1, $t2);
$this->assertGreaterThan($t4, $t3);
$this->assertGreaterThan($t3, $t4);
}
function testMultipleTimers()