From 2740e5c5d21a89a472b58375d8f16c2876d13b03 Mon Sep 17 00:00:00 2001 From: Steve Grunwell <233836+stevegrunwell@users.noreply.github.com> Date: Wed, 15 Nov 2023 20:32:36 -0500 Subject: [PATCH] Change the visibility of the internal methods from protected to private --- src/MarkupAssertionsTrait.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MarkupAssertionsTrait.php b/src/MarkupAssertionsTrait.php index cde4ecc..052cfe0 100644 --- a/src/MarkupAssertionsTrait.php +++ b/src/MarkupAssertionsTrait.php @@ -222,7 +222,7 @@ public function assertElementNotRegExp($regexp, $selector = '', $markup = '', $m * * @return Crawler */ - protected function executeDomQuery($markup, $query) + private function executeDomQuery($markup, $query) { $dom = new Crawler($markup); @@ -240,7 +240,7 @@ protected function executeDomQuery($markup, $query) * * @return string A XPath attribute query selector. */ - protected function flattenAttributeArray(array $attributes) + private function flattenAttributeArray(array $attributes) { if (empty($attributes)) { throw new RiskyTestError('Attributes array is empty.'); @@ -268,7 +268,7 @@ protected function flattenAttributeArray(array $attributes) * * @return string The concatenated innerHTML of any matched selectors. */ - protected function getInnerHtmlOfMatchedElements($markup, $query) + private function getInnerHtmlOfMatchedElements($markup, $query) { $results = $this->executeDomQuery($markup, $query); $contents = [];