Skip to content

Commit

Permalink
Restore compatibility with PHP 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Aug 22, 2017
1 parent f44f3d2 commit 4f04628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Framework/TestCase.php
Expand Up @@ -2459,7 +2459,7 @@ private function unregisterCustomComparators()
$this->customComparators = [];
}

private function cleanupIniSettings(): void
private function cleanupIniSettings()
{
foreach ($this->iniSettings as $varName => $oldValue) {
\ini_set($varName, $oldValue);
Expand All @@ -2468,7 +2468,7 @@ private function cleanupIniSettings(): void
$this->iniSettings = [];
}

private function cleanupLocaleSettings(): void
private function cleanupLocaleSettings()
{
foreach ($this->locale as $category => $locale) {
\setlocale($category, $locale);
Expand Down

0 comments on commit 4f04628

Please sign in to comment.