Commit 996325b0 authored by alexpott's avatar alexpott

Issue #2505193 by googletorp: MockFileFinder has empty contruct method

parent fd23cc5c
......@@ -25,12 +25,6 @@ class MockFileFinder implements ClassFinderInterface {
*/
protected $filename;
/**
* Constructs a MockFileFinder object.
*/
public function __construct($prefixes) {
}
/**
* Implements Doctrine\Common\Reflection\ClassFinderInterface::findFile().
*/
......@@ -42,7 +36,7 @@ public function findFile($class) {
* Creates new mock file finder objects.
*/
static public function create($filename) {
$object = new static(array());
$object = new static();
$object->filename = $filename;
return $object;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment