Skip to content

Commit

Permalink
Change the visibility of the internal methods from protected to private
Browse files Browse the repository at this point in the history
  • Loading branch information
stevegrunwell committed Nov 16, 2023
1 parent 9628a9c commit 2740e5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MarkupAssertionsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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.');
Expand Down Expand Up @@ -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 = [];
Expand Down

0 comments on commit 2740e5c

Please sign in to comment.