mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-22 03:42:18 +09:00
Fix short array syntax
This commit is contained in:
parent
8b55959880
commit
475c8d49a9
2 changed files with 3 additions and 3 deletions
|
|
@ -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 = [];
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ class Timer
|
|||
/**
|
||||
* Timestamps are stored here.
|
||||
*/
|
||||
protected static $_timestamps = [];
|
||||
protected static $_timestamps = array();
|
||||
|
||||
/**
|
||||
* Start a timer.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue