From 48a9e83e4b4139ffabbb9bb3fc4e20a4d0d5d485 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 6 Oct 2015 15:40:15 +0200 Subject: [PATCH] consistent signature of getDump() in class + trait --- src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php | 2 +- src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php b/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php index 3c8593a8c34a4..cc3e503ef6b81 100644 --- a/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php +++ b/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php @@ -29,7 +29,7 @@ public function assertDumpMatchesFormat($dump, $data, $message = '') $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(); diff --git a/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php b/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php index 325545648d6dc..e5f6bf5b98e7e 100644 --- a/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php +++ b/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php @@ -29,7 +29,7 @@ public function assertDumpMatchesFormat($dump, $data, $message = '') $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(); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy