consistent signature of getDump() in class + trait
This commit is contained in:
parent
b6ab750e18
commit
48a9e83e4b
@ -29,7 +29,7 @@ abstract class VarDumperTestCase extends \PHPUnit_Framework_TestCase
|
||||
$this->assertStringMatchesFormat(rtrim($dump), $this->getDump($data), $message);
|
||||
}
|
||||
|
||||
private function getDump($data)
|
||||
protected function getDump($data)
|
||||
{
|
||||
$h = fopen('php://memory', 'r+b');
|
||||
$cloner = new VarCloner();
|
||||
|
@ -29,7 +29,7 @@ trait VarDumperTestTrait
|
||||
$this->assertStringMatchesFormat(rtrim($dump), $this->getDump($data), $message);
|
||||
}
|
||||
|
||||
public function getDump($data)
|
||||
protected function getDump($data)
|
||||
{
|
||||
$h = fopen('php://memory', 'r+b');
|
||||
$cloner = new VarCloner();
|
||||
|
Reference in New Issue
Block a user