Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #42 from kzfk/php53-array-fix
Browse files Browse the repository at this point in the history
array init syntax fix.(php 5.3 format)
  • Loading branch information
wa0x6e committed Dec 12, 2014
2 parents dee68ea + 1e72e53 commit 8e4ce3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ResqueBoard/Lib/ResqueStat.php
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ protected function getPendingJobs($options)
}


$pendingJobs = [];
$pendingJobs = array();
foreach ($queues as $queue => $jobs) {
for ($i = count($jobs)-1; $i >= 0; $i--) {
$jobs[$i] = json_decode($jobs[$i], true);
Expand Down

0 comments on commit 8e4ce3b

Please sign in to comment.