diff --git a/lib/Doctrine/ORM/NativeQuery.php b/lib/Doctrine/ORM/NativeQuery.php index 4c3203b4326..aa44539d544 100644 --- a/lib/Doctrine/ORM/NativeQuery.php +++ b/lib/Doctrine/ORM/NativeQuery.php @@ -11,8 +11,10 @@ /** * Represents a native SQL query. + * + * @final */ -final class NativeQuery extends AbstractQuery +class NativeQuery extends AbstractQuery { /** @var string */ private $sql; diff --git a/lib/Doctrine/ORM/Query.php b/lib/Doctrine/ORM/Query.php index 8a1d2507450..a9be33b4da3 100644 --- a/lib/Doctrine/ORM/Query.php +++ b/lib/Doctrine/ORM/Query.php @@ -44,8 +44,10 @@ /** * A Query object represents a DQL query. + * + * @final */ -final class Query extends AbstractQuery +class Query extends AbstractQuery { /** * A query object is in CLEAN state when it has NO unparsed/unprocessed DQL parts.