Skip to content

Commit

Permalink
createFromFile static method bugfix (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk authored Apr 1, 2020
1 parent edd496d commit fc07754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SslCertificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static function createForHostName(string $url, int $timeout = 30): self

public static function createFromFile(string $pathToCertificate): self
{
return $this->createFromString(file_get_contents($pathToCertificate));
return self::createFromString(file_get_contents($pathToCertificate));
}

public static function createFromString(string $certificatePem): self
Expand Down

0 comments on commit fc07754

Please sign in to comment.