consistent signature of getDump() in class + trait

This commit is contained in:
Christian Flothmann 2015-10-06 15:40:15 +02:00
parent b6ab750e18
commit 48a9e83e4b
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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();