diff options
Diffstat (limited to 'lib/public/AppFramework/QueryException.php')
-rw-r--r-- | lib/public/AppFramework/QueryException.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/public/AppFramework/QueryException.php b/lib/public/AppFramework/QueryException.php index 1bb03b8f217..c4f401532be 100644 --- a/lib/public/AppFramework/QueryException.php +++ b/lib/public/AppFramework/QueryException.php @@ -1,4 +1,7 @@ <?php + +declare(strict_types=1); + /** * @copyright Copyright (c) 2016, ownCloud, Inc. * @@ -25,12 +28,16 @@ namespace OCP\AppFramework; use Exception; +use Psr\Container\ContainerExceptionInterface; /** * Class QueryException * + * The class extends `NotFoundExceptionInterface` since 20.0.0 + * * @package OCP\AppFramework * @since 8.1.0 + * @deprecated 20.0.0 catch \Psr\Container\ContainerExceptionInterface */ -class QueryException extends Exception { +class QueryException extends Exception implements ContainerExceptionInterface { } |