diff --git a/docs/en/cookbook/implementing-the-notify-changetracking-policy.rst b/docs/en/cookbook/implementing-the-notify-changetracking-policy.rst index 0fa27372b9e..2415db1dc97 100644 --- a/docs/en/cookbook/implementing-the-notify-changetracking-policy.rst +++ b/docs/en/cookbook/implementing-the-notify-changetracking-policy.rst @@ -13,7 +13,7 @@ for all our domain objects. .. note:: The notify change tracking policy is deprecated and will be removed in ORM 3.0. - (`Details `_) + (\ `Details `_) Implementing NotifyPropertyChanged ---------------------------------- diff --git a/docs/en/cookbook/validation-of-entities.rst b/docs/en/cookbook/validation-of-entities.rst index 4f286490a70..a1e39a5e51b 100644 --- a/docs/en/cookbook/validation-of-entities.rst +++ b/docs/en/cookbook/validation-of-entities.rst @@ -58,6 +58,10 @@ First Attributes: .. code-block:: php `_) + (\ `Details `_) This policy is based on the assumption that the entities notify interested listeners of changes to their properties. For that diff --git a/docs/en/reference/dql-doctrine-query-language.rst b/docs/en/reference/dql-doctrine-query-language.rst index 38c54024226..e640bee46ed 100644 --- a/docs/en/reference/dql-doctrine-query-language.rst +++ b/docs/en/reference/dql-doctrine-query-language.rst @@ -1425,7 +1425,7 @@ userland: reloading this data. Partially loaded objects have to be passed to ``EntityManager::refresh()`` if they are to be reloaded fully from the database. This query hint is deprecated and will be removed - in the future (`Details `_) + in the future (\ `Details `_) - ``Query::HINT_REFRESH`` - This query is used internally by ``EntityManager::refresh()`` and can be used in userland as well. If you specify this hint and a query returns the data for an entity diff --git a/docs/en/reference/events.rst b/docs/en/reference/events.rst index 0307429b864..5d52cc6badb 100644 --- a/docs/en/reference/events.rst +++ b/docs/en/reference/events.rst @@ -215,6 +215,10 @@ specific to a particular entity class's lifecycle. `_ or -`attributes ` on traits, and attempts to +`attributes `_ on traits, and attempts to improve parser support for traits as `here `_ or `there `_ have been abandoned due to complexity. diff --git a/docs/en/reference/partial-objects.rst b/docs/en/reference/partial-objects.rst index ddc42ee29fc..51f173adf6c 100644 --- a/docs/en/reference/partial-objects.rst +++ b/docs/en/reference/partial-objects.rst @@ -6,7 +6,7 @@ Partial Objects Creating Partial Objects through DQL is deprecated and will be removed in the future, use data transfer object - support in DQL instead. (`Details + support in DQL instead. (\ `Details `_) A partial object is an object whose state is not fully initialized diff --git a/docs/en/reference/unitofwork.rst b/docs/en/reference/unitofwork.rst index 4af7f16decf..6d429ec01e8 100644 --- a/docs/en/reference/unitofwork.rst +++ b/docs/en/reference/unitofwork.rst @@ -137,7 +137,7 @@ optimize the performance of the Flush Operation: .. note:: Flush only a single entity with ``$entityManager->flush($entity)`` is deprecated and will be removed in ORM 3.0. - (`Details `_) + (\ `Details `_) Query Internals --------------- diff --git a/docs/en/tutorials/getting-started.rst b/docs/en/tutorials/getting-started.rst index d6c4c816302..65c77ef9072 100644 --- a/docs/en/tutorials/getting-started.rst +++ b/docs/en/tutorials/getting-started.rst @@ -18,7 +18,7 @@ before. There are some prerequisites for the tutorial that have to be installed: - PHP (latest stable version) -- Composer Package Manager (`Install Composer +- Composer Package Manager (\ `Install Composer `_) The code of this tutorial is `available on Github `_. @@ -321,7 +321,7 @@ data in your storage, and later in your application when the data is loaded agai .. note:: This method, although very common, is inappropriate for Domain Driven - Design (`DDD `_) + Design (\ `DDD `_) where methods should represent real business operations and not simple property change, And business invariants should be maintained both in the application state (entities in this case) and in the database, with no diff --git a/lib/Doctrine/ORM/AbstractQuery.php b/lib/Doctrine/ORM/AbstractQuery.php index f4ba885a284..6cfc76d7ed0 100644 --- a/lib/Doctrine/ORM/AbstractQuery.php +++ b/lib/Doctrine/ORM/AbstractQuery.php @@ -1012,6 +1012,7 @@ public function getSingleResult($hydrationMode = null) * * @return bool|float|int|string|null The scalar result. * + * @throws NoResultException If the query returned no result. * @throws NonUniqueResultException If the query result is not unique. */ public function getSingleScalarResult()