PatchBase: Hardened method visibility
This commit is contained in:
parent
5b40e198a8
commit
4cc53043b0
1 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ abstract class PatchBase {
|
|||
function __toString() : string {
|
||||
return (string)$this->patch;
|
||||
}
|
||||
function dump() {
|
||||
protected function dump() {
|
||||
var_dump($this->data);
|
||||
}
|
||||
function id() : string {
|
||||
|
|
@ -66,7 +66,7 @@ abstract class PatchBase {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
protected function array_isMulti(array $arr) : bool {
|
||||
private function array_isMulti(array $arr) : bool {
|
||||
foreach ($arr as $val) {
|
||||
if (!is_array($val))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue