Skip to content

Commit

Permalink
Visibility declared on method "getPhpExtensions" and "getPhpIniValues"
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto-butti committed Sep 22, 2020
1 parent 4972f26 commit 05aa1e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Lens/Traits/RuntimeLens.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ public function checkServerRequirements()
return $results;
}

function getPhpExtensions() {
public function getPhpExtensions()
{
$results = new ResultLens();
foreach (get_loaded_extensions() as $name) {
$results->add(
Expand All @@ -207,7 +208,8 @@ function getPhpExtensions() {
return $results;
}

function getPhpIniValues() {
public function getPhpIniValues()
{
$results = new ResultLens();
foreach (ini_get_all() as $name => $row) {
$results->add(
Expand Down

0 comments on commit 05aa1e3

Please sign in to comment.