Skip to content

Commit 154d751

Browse files
committed
Change the visibility of the internal methods from protected to private
1 parent 70103e4 commit 154d751

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MarkupAssertionsTrait.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ public function assertElementNotRegExp($regexp, $selector = '', $markup = '', $m
222222
*
223223
* @return Crawler
224224
*/
225-
protected function executeDomQuery($markup, $query)
225+
private function executeDomQuery($markup, $query)
226226
{
227227
$dom = new Crawler($markup);
228228

@@ -240,7 +240,7 @@ protected function executeDomQuery($markup, $query)
240240
*
241241
* @return string A XPath attribute query selector.
242242
*/
243-
protected function flattenAttributeArray(array $attributes)
243+
private function flattenAttributeArray(array $attributes)
244244
{
245245
if (empty($attributes)) {
246246
throw new RiskyTestError('Attributes array is empty.');
@@ -268,7 +268,7 @@ protected function flattenAttributeArray(array $attributes)
268268
*
269269
* @return string The concatenated innerHTML of any matched selectors.
270270
*/
271-
protected function getInnerHtmlOfMatchedElements($markup, $query)
271+
private function getInnerHtmlOfMatchedElements($markup, $query)
272272
{
273273
$results = $this->executeDomQuery($markup, $query);
274274
$contents = [];

0 commit comments

Comments
 (0)