Skip to content

Commit 5da5972

Browse files
ISS-33802: revert semantic versioning changes
1 parent f72e25f commit 5da5972

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/internal/Magento/Framework/App/DeploymentConfig.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class DeploymentConfig
5555
* @param DeploymentConfig\Reader $reader
5656
* @param array $overrideData
5757
*/
58-
public function __construct(DeploymentConfig\Reader $reader, array $overrideData = [])
58+
public function __construct(DeploymentConfig\Reader $reader, $overrideData = [])
5959
{
6060
$this->reader = $reader;
6161
$this->overrideData = $overrideData;
@@ -64,13 +64,13 @@ public function __construct(DeploymentConfig\Reader $reader, array $overrideData
6464
/**
6565
* Gets data from flattened data
6666
*
67-
* @param string|null $key
67+
* @param string $key
6868
* @param mixed $defaultValue
6969
* @return mixed|null
7070
* @throws FileSystemException
7171
* @throws RuntimeException
7272
*/
73-
public function get(string $key = null, $defaultValue = null)
73+
public function get($key = null, $defaultValue = null)
7474
{
7575
if ($key === null) {
7676
if (empty($this->flatData)) {
@@ -94,7 +94,7 @@ public function get(string $key = null, $defaultValue = null)
9494
* @throws FileSystemException
9595
* @throws RuntimeException
9696
*/
97-
public function getConfigData(string $key = null)
97+
public function getConfigData($key = null)
9898
{
9999
if ($key === null) {
100100
if (empty($this->data)) {
@@ -117,7 +117,7 @@ public function getConfigData(string $key = null)
117117
* @throws FileSystemException
118118
* @throws RuntimeException
119119
*/
120-
public function isAvailable(): bool
120+
public function isAvailable()
121121
{
122122
return $this->get(ConfigOptionsListConstants::CONFIG_PATH_INSTALL_DATE) !== null;
123123
}
@@ -130,7 +130,7 @@ public function isAvailable(): bool
130130
* @throws RuntimeException
131131
* @since 100.1.3
132132
*/
133-
public function isDbAvailable(): bool
133+
public function isDbAvailable()
134134
{
135135
return $this->getConfigData('db') !== null;
136136
}
@@ -140,7 +140,7 @@ public function isDbAvailable(): bool
140140
*
141141
* @return void
142142
*/
143-
public function resetData(): void
143+
public function resetData()
144144
{
145145
$this->data = [];
146146
$this->flatData = [];

0 commit comments

Comments
 (0)