Skip to content

Commit

Permalink
Fixed a little bug
Browse files Browse the repository at this point in the history
  • Loading branch information
brnskn committed Nov 11, 2020
1 parent 0dbb914 commit 9b017e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OS/Distro.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function __call($method, $parameters)
*/
public static function __callStatic($method, $parameters)
{
if (self::$instance !== null) {
if (self::$instance == null) {
self::$instance = new self();
}
return self::$instance->$method(...$parameters);
Expand Down

0 comments on commit 9b017e5

Please sign in to comment.