Skip to content

Commit 1d9cc5c

Browse files
committed
Fix: CS
1 parent 2be248f commit 1d9cc5c

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/Exception/MissingPackageException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@
1111

1212
namespace League\FlysystemBundle\Exception;
1313

14-
use Throwable;
15-
1614
/**
1715
* @author Titouan Galopin <[email protected]>
1816
*
1917
* @final
2018
*/
2119
class MissingPackageException extends \RuntimeException
2220
{
23-
public function __construct($message = '', Throwable $previous = null)
21+
public function __construct($message = '', \Throwable $previous = null)
2422
{
2523
parent::__construct($message, 0, $previous);
2624
}

tests/TemporaryUrlGeneratorMock.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111

1212
namespace Tests\League\FlysystemBundle;
1313

14-
use DateTimeInterface;
1514
use League\Flysystem\Config;
1615
use League\Flysystem\UrlGeneration\TemporaryUrlGenerator;
1716

1817
final class TemporaryUrlGeneratorMock implements TemporaryUrlGenerator
1918
{
20-
public function temporaryUrl(string $path, DateTimeInterface $expiresAt, Config $config): string
19+
public function temporaryUrl(string $path, \DateTimeInterface $expiresAt, Config $config): string
2120
{
2221
return "https://example.org/temporary/$path?expiresAt={$expiresAt->format('U')}";
2322
}

0 commit comments

Comments
 (0)