Skip to content

Commit

Permalink
set default value for list
Browse files Browse the repository at this point in the history
  • Loading branch information
sokil authored Jul 13, 2016
1 parent 1b0901c commit 0f43ea7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PriorityList.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class PriorityList implements \Iterator, \Countable
{
private $lastSequence = 0;

private $list;
private $list = array();

const ORDER_ASC = 'asc';
const ORDER_DESC = 'desc';
Expand Down Expand Up @@ -111,4 +111,4 @@ public function toArray()
{
return iterator_to_array($this);
}
}
}

0 comments on commit 0f43ea7

Please sign in to comment.