Skip to content

Commit

Permalink
Combine use statements
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Jul 21, 2015
1 parent 4edeb48 commit be8ec0e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
12 changes: 7 additions & 5 deletions src/Sink.php
Expand Up @@ -3,11 +3,13 @@

use Icicle\Promise;
use Icicle\Promise\PromiseInterface;
use Icicle\Stream\Exception\InvalidArgumentError;
use Icicle\Stream\Exception\OutOfBoundsException;
use Icicle\Stream\Exception\UnreadableException;
use Icicle\Stream\Exception\UnseekableException;
use Icicle\Stream\Exception\UnwritableException;
use Icicle\Stream\Exception\{
InvalidArgumentError,
OutOfBoundsException,
UnreadableException,
UnseekableException,
UnwritableException
};
use Icicle\Stream\Structures\Buffer;

/**
Expand Down
8 changes: 2 additions & 6 deletions src/Stream.php
Expand Up @@ -2,12 +2,8 @@
namespace Icicle\Stream;

use Icicle\Promise;
use Icicle\Promise\Deferred;
use Icicle\Promise\PromiseInterface;
use Icicle\Stream\Exception\BusyError;
use Icicle\Stream\Exception\ClosedException;
use Icicle\Stream\Exception\UnreadableException;
use Icicle\Stream\Exception\UnwritableException;
use Icicle\Promise\{Deferred, PromiseInterface};
use Icicle\Stream\Exception\{BusyError, ClosedException, UnreadableException, UnwritableException};
use Icicle\Stream\Structures\Buffer;

/**
Expand Down

0 comments on commit be8ec0e

Please sign in to comment.