Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Change private methods to protected visibility #29

Merged
merged 1 commit into from
Nov 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/RequestDataTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function transformField($name, $value)
*
* @return mixed
*/
private function escapeHtmlCharacters($value)
protected function escapeHtmlCharacters($value)
{
if (is_array($value)) {
return filter_var_array($value, FILTER_SANITIZE_SPECIAL_CHARS);
Expand All @@ -155,7 +155,7 @@ private function escapeHtmlCharacters($value)
*
* @return mixed
*/
private function purgeHtmlCharacters($value)
protected function purgeHtmlCharacters($value)
{
if (is_array($value)) {
return filter_var_array($value, FILTER_SANITIZE_STRING);
Expand All @@ -171,7 +171,7 @@ private function purgeHtmlCharacters($value)
*
* @return mixed
*/
private function trim($value)
protected function trim($value)
{
if (is_array($value)) {
return array_map('trim', $value);
Expand Down