Skip to content

Commit bd5e94e

Browse files
authored
rector privatization (#4392)
1 parent a1f0cf1 commit bd5e94e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.rector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
false,
4646
false,
4747
false,
48-
false,
48+
true,
4949
false,
5050
false,
5151
false,

app/Mage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ public static function run($code = '', $type = 'store', $options = [])
781781
*
782782
* @param array $options
783783
*/
784-
protected static function _setIsInstalled($options = [])
784+
private static function _setIsInstalled($options = [])
785785
{
786786
if (isset($options['is_installed']) && $options['is_installed']) {
787787
self::$_isInstalled = true;
@@ -793,7 +793,7 @@ protected static function _setIsInstalled($options = [])
793793
*
794794
* @param array $options
795795
*/
796-
protected static function _setConfigModel($options = [])
796+
private static function _setConfigModel($options = [])
797797
{
798798
if (isset($options['config_model']) && class_exists($options['config_model'])) {
799799
$alternativeConfigModelName = $options['config_model'];

0 commit comments

Comments
 (0)