Skip to content

Commit

Permalink
ensure backwards compatiblity
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Feb 19, 2019
1 parent a603046 commit fbbba38
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Downloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Spatie\SslCertificate;

use Throwable;
use Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate\CouldNotDownloadCertificate;
use Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate;

class Downloader
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<?php

namespace Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate;
namespace Spatie\SslCertificate\Exceptions;

use Exception;
use Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate\HostDoesNotExist;
use Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate\NoCertificateInstalled;
use Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate\UnknownError;

class CouldNotDownloadCertificate extends Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate;

use Throwable;
use Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate;

class HostDoesNotExist extends CouldNotDownloadCertificate
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate;

use Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate;

class NoCertificateInstalled extends CouldNotDownloadCertificate
{
public function __construct(string $hostName)
Expand Down
2 changes: 2 additions & 0 deletions src/Exceptions/CouldNotDownloadCertificate/UnknownError.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate;

use Spatie\SslCertificate\Exceptions\CouldNotDownloadCertificate;

class UnknownError extends CouldNotDownloadCertificate
{
public function __construct(string $hostName, string $errorMessage)
Expand Down

0 comments on commit fbbba38

Please sign in to comment.