Skip to content

Commit

Permalink
Move PromiseTrait to Internal namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Oct 19, 2015
1 parent 424ddbd commit 2138ed2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Promise/Internal/LazyPromise.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

use Icicle\Promise;
use Icicle\Promise\PromiseInterface;
use Icicle\Promise\PromiseTrait;

class LazyPromise implements PromiseInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
* @license MIT See the LICENSE file that was distributed with this source code for more information.
*/

namespace Icicle\Promise;
namespace Icicle\Promise\Internal;

use Icicle\Promise\Exception\UnexpectedTypeError;
use Icicle\Promise\PromiseInterface;

trait PromiseTrait
{
Expand Down
1 change: 0 additions & 1 deletion src/Promise/Internal/ResolvedPromise.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
namespace Icicle\Promise\Internal;

use Icicle\Promise\PromiseInterface;
use Icicle\Promise\PromiseTrait;

abstract class ResolvedPromise implements PromiseInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Promise/Promise.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/
class Promise implements PromiseInterface
{
use PromiseTrait;
use Internal\PromiseTrait;

/**
* @var \Icicle\Promise\PromiseInterface|null
Expand Down

0 comments on commit 2138ed2

Please sign in to comment.