Browse Source

Add missing "use" statement.

ADmad 7 years ago
parent
commit
6156ce17ca

+ 2 - 0
src/Http/Exception/BadRequestException.php

@@ -13,6 +13,8 @@ declare(strict_types=1);
  */
 namespace Cake\Http\Exception;
 
+use Throwable;
+
 /**
  * Represents an HTTP 400 error.
  */

+ 2 - 0
src/Http/Exception/ConflictException.php

@@ -13,6 +13,8 @@ declare(strict_types=1);
  */
 namespace Cake\Http\Exception;
 
+use Throwable;
+
 /**
  * Represents an HTTP 409 error.
  */

+ 2 - 0
src/Http/Exception/ForbiddenException.php

@@ -13,6 +13,8 @@ declare(strict_types=1);
  */
 namespace Cake\Http\Exception;
 
+use Throwable;
+
 /**
  * Represents an HTTP 403 error.
  */

+ 2 - 0
src/Http/Exception/GoneException.php

@@ -13,6 +13,8 @@ declare(strict_types=1);
  */
 namespace Cake\Http\Exception;
 
+use Throwable;
+
 /**
  * Represents an HTTP 410 error.
  */

+ 2 - 0
src/Http/Exception/InternalErrorException.php

@@ -13,6 +13,8 @@ declare(strict_types=1);
  */
 namespace Cake\Http\Exception;
 
+use Throwable;
+
 /**
  * Represents an HTTP 500 error.
  */

+ 2 - 0
src/Http/Exception/InvalidCsrfTokenException.php

@@ -13,6 +13,8 @@ declare(strict_types=1);
  */
 namespace Cake\Http\Exception;
 
+use Throwable;
+
 /**
  * Represents an HTTP 403 error caused by an invalid CSRF token
  */

+ 2 - 0
src/Http/Exception/MethodNotAllowedException.php

@@ -13,6 +13,8 @@ declare(strict_types=1);
  */
 namespace Cake\Http\Exception;
 
+use Throwable;
+
 /**
  * Represents an HTTP 405 error.
  */

+ 2 - 0
src/Http/Exception/NotAcceptableException.php

@@ -13,6 +13,8 @@ declare(strict_types=1);
  */
 namespace Cake\Http\Exception;
 
+use Throwable;
+
 /**
  * Represents an HTTP 406 error.
  */

+ 2 - 0
src/Http/Exception/NotFoundException.php

@@ -13,6 +13,8 @@ declare(strict_types=1);
  */
 namespace Cake\Http\Exception;
 
+use Throwable;
+
 /**
  * Represents an HTTP 404 error.
  */

+ 2 - 0
src/Http/Exception/ServiceUnavailableException.php

@@ -13,6 +13,8 @@ declare(strict_types=1);
  */
 namespace Cake\Http\Exception;
 
+use Throwable;
+
 /**
  * Represents an HTTP 503 error.
  */

+ 2 - 0
src/Http/Exception/UnauthorizedException.php

@@ -13,6 +13,8 @@ declare(strict_types=1);
  */
 namespace Cake\Http\Exception;
 
+use Throwable;
+
 /**
  * Represents an HTTP 401 error.
  */

+ 2 - 0
src/Http/Exception/UnavailableForLegalReasonsException.php

@@ -13,6 +13,8 @@ declare(strict_types=1);
  */
 namespace Cake\Http\Exception;
 
+use Throwable;
+
 /**
  * Represents an HTTP 451 error.
  */