Fix short array syntax

This commit is contained in:
Kijin Sung 2016-03-17 17:33:58 +09:00
parent 8b55959880
commit 475c8d49a9
2 changed files with 3 additions and 3 deletions

View file

@ -101,7 +101,7 @@ class Calendar
$count = self::getMonthDays($month_number, $year);
$initial_blank_cells = (7 + $start - $start_dow) % 7;
$final_blank_cells = 42 - $count - $initial_blank_cells;
$temp = [];
$temp = array();
for ($i = 0; $i < $initial_blank_cells; $i++)
{
@ -116,7 +116,7 @@ class Calendar
$temp[] = null;
}
$return = [];
$return = array();
for ($i = 0; $i < 6; $i++)
{
$week = [];

View file

@ -10,7 +10,7 @@ class Timer
/**
* Timestamps are stored here.
*/
protected static $_timestamps = [];
protected static $_timestamps = array();
/**
* Start a timer.