Skip to content

Commit

Permalink
Config to allow calling instance methods
Browse files Browse the repository at this point in the history
  • Loading branch information
haszi committed Feb 25, 2024
1 parent 7a94797 commit 547fc20
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions phpdotnet/phd/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ public static function __callStatic($name, $params)
: NULL;
}

public function __call($name, $params) {
return self::__callStatic($name, $params);
}

public static function getSupportedPackages() {
$packageList = array();
foreach(Config::package_dirs() as $dir) {
Expand Down Expand Up @@ -183,5 +187,3 @@ public static function copyright() {
}

}


0 comments on commit 547fc20

Please sign in to comment.