1
0
mirror of https://github.com/danog/amp.git synced 2024-12-02 09:27:46 +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 <?php
declare(strict_types=1);
namespace Amp; namespace Amp;
use Interop\Async\Awaitable; use Interop\Async\Awaitable;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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