From 4af2e5489bca022d63fb1c56a50ed6a1f02aa459 Mon Sep 17 00:00:00 2001 From: David Yell Date: Thu, 16 Jul 2015 11:37:41 +0100 Subject: [PATCH] Update deprecated method in docblocks So that the docblock doesn't point you to another deprecated method which then points you to the actual method. --- lib/Cake/Controller/Component/SecurityComponent.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Cake/Controller/Component/SecurityComponent.php b/lib/Cake/Controller/Component/SecurityComponent.php index cb41cf7ff..12f225ff3 100644 --- a/lib/Cake/Controller/Component/SecurityComponent.php +++ b/lib/Cake/Controller/Component/SecurityComponent.php @@ -47,7 +47,7 @@ class SecurityComponent extends Component { * List of controller actions for which a POST request is required * * @var array - * @deprecated 3.0.0 Use CakeRequest::onlyAllow() instead. + * @deprecated 3.0.0 Use CakeRequest::allowMethod() instead. * @see SecurityComponent::requirePost() */ public $requirePost = array(); @@ -56,7 +56,7 @@ class SecurityComponent extends Component { * List of controller actions for which a GET request is required * * @var array - * @deprecated 3.0.0 Use CakeRequest::onlyAllow() instead. + * @deprecated 3.0.0 Use CakeRequest::allowMethod() instead. * @see SecurityComponent::requireGet() */ public $requireGet = array(); @@ -65,7 +65,7 @@ class SecurityComponent extends Component { * List of controller actions for which a PUT request is required * * @var array - * @deprecated 3.0.0 Use CakeRequest::onlyAllow() instead. + * @deprecated 3.0.0 Use CakeRequest::allowMethod() instead. * @see SecurityComponent::requirePut() */ public $requirePut = array(); @@ -74,7 +74,7 @@ class SecurityComponent extends Component { * List of controller actions for which a DELETE request is required * * @var array - * @deprecated 3.0.0 Use CakeRequest::onlyAllow() instead. + * @deprecated 3.0.0 Use CakeRequest::allowMethod() instead. * @see SecurityComponent::requireDelete() */ public $requireDelete = array();