1
0
mirror of https://github.com/danog/amp.git synced 2024-11-30 04:29:08 +01:00

Use strict types

This commit is contained in:
Aaron Piotrowski 2016-08-15 23:46:26 -05:00
parent 7c9a004024
commit 888229d667
23 changed files with 46 additions and 0 deletions

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
use Interop\Async\Awaitable;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
use Interop\Async\Awaitable;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
use Interop\Async\Loop;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
use Interop\Async\Awaitable;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
use Interop\Async\Awaitable;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp\Internal;
use Amp\Failure;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp\Internal;
use Amp\Failure;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp\Internal;
use Interop\Async\Awaitable;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp\Internal;
use Amp\Observable;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp\Internal;
use Amp\{ Deferred, Observable, Subscriber, Success};

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp\Internal;
use Interop\Async\Loop;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
class InvalidYieldError extends \Error {

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
class MultiReasonException extends \Exception {

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
use Interop\Async\Awaitable;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
use Interop\Async\Awaitable;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
use Interop\Async\Awaitable;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
use Interop\Async\Awaitable;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
/**

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
/**

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
/**

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
use Interop\Async\Awaitable;

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
class TimeoutException extends \Exception {

View File

@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Amp;
use Interop\Async\Awaitable;