[TASK] Add leading backslashes to InvalidArgumentException
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Tue, 25 Sep 2012 20:41:03 +0000 (22:41 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 30 Sep 2012 11:19:04 +0000 (13:19 +0200)
For some cases the leading backslash is missing for PHP standard
classes. This patch adds those backslashes to InvalidArgumentException.

Change-Id: I3749ac33498151744848f7612a809b5f9ac55931
Resolves: #41370
Releases: 6.0
Reviewed-on: http://review.typo3.org/15066
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php
typo3/sysext/workspaces/Classes/Service/WorkspaceService.php

index bd09b30..5638ca3 100644 (file)
@@ -67,7 +67,7 @@ class BackendUtilityHook implements \TYPO3\CMS\Core\SingletonInterface {
         * Find the Live-Uid for a given page,
         * the results are cached at run-time to avoid too many database-queries
         *
-        * @throws InvalidArgumentException
+        * @throws \InvalidArgumentException
         * @param integer $uid
         * @return integer
         * @deprecated since TYPO3 4.6 - use Tx_Workspaces_Service_Workspaces::getLivePageUid() instead
index c06f690..af5a073 100644 (file)
@@ -591,7 +591,7 @@ class WorkspaceService implements \TYPO3\CMS\Core\SingletonInterface {
         * Find the Live-Uid for a given page,
         * the results are cached at run-time to avoid too many database-queries
         *
-        * @throws InvalidArgumentException
+        * @throws \InvalidArgumentException
         * @param integer $uid
         * @return integer
         */