Permalink
Browse files

Changed array callable to call_user_func style for PHP 5.3 support. (f…

…ixes #40)
  • Loading branch information...
1 parent a459939 commit 038f052327a98442b029557c5cded0e2b6bde9e1 @koden-km koden-km committed Feb 25, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/src/AbstractLinkedListTest.php
@@ -82,7 +82,7 @@ public function testCloneDoesNotCorruptOriginalList()
public function testCreate()
{
$method = array($this->className, 'create');
- $this->collection = $method(1, 2, 3);
+ $this->collection = call_user_func($method, 1, 2, 3);
$this->assertInstanceOf($this->className, $this->collection);
$this->assertSame(array(1, 2, 3), $this->collection->elements());

0 comments on commit 038f052

Please sign in to comment.