Skip to content

Commit

Permalink
Use fully namespaced classname in docblock.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jun 20, 2014
1 parent 169caa0 commit 749cb81
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/Controller/Component/AuthComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,22 +225,22 @@ class AuthComponent extends Component {
* successfully logging in the current user after calling `login()`
* in the same request
*
* @var Cake\Auth\BaseAuthenticate
* @var \Cake\Auth\BaseAuthenticate
*/
protected $_authenticationProvider;

/**
* The instance of the Authorize provider that was used to grant
* access to the current user to the url they are requesting.
*
* @var Cake\Auth\BaseAuthorize
* @var \Cake\Auth\BaseAuthorize
*/
protected $_authorizationProvider;

/**
* Initializes AuthComponent for use in the controller.
*
* @param Event $event The initialize event.
* @param \Cake\Event\Event $event The initialize event.
* @return void
*/
public function initialize(Event $event) {
Expand All @@ -259,7 +259,7 @@ public function initialize(Event $event) {
* Main execution method. Handles redirecting of invalid users, and processing
* of login form data.
*
* @param Event $event The startup event.
* @param \Cake\Event\Event $event The startup event.
* @return void|\Cake\Network\Response
*/
public function startup(Event $event) {
Expand Down Expand Up @@ -311,7 +311,8 @@ public function implementedEvents() {
/**
* Checks whether current action is accessible without authentication.
*
* @param Controller $controller A reference to the instantiating controller object
* @param \Cake\Controller\Controller $controller A reference to the instantiating
* controller object
* @return bool True if action is accessible without authentication else false
*/
protected function _isAllowed(Controller $controller) {
Expand All @@ -331,7 +332,7 @@ protected function _isAllowed(Controller $controller) {
* `ajaxLogin` is specified that element is rendered else a 403 http status code
* is returned.
*
* @param Controller $controller A reference to the controller object.
* @param \Cake\Controller\Controller $controller A reference to the controller object.
* @return void|\Cake\Network\Response Null if current action is login action
* else response object returned by authenticate object or Controller::redirect().
*/
Expand Down Expand Up @@ -376,7 +377,7 @@ protected function _unauthenticated(Controller $controller) {
/**
* Normalizes config `loginAction` and checks if current request URL is same as login action.
*
* @param Controller $controller A reference to the controller object.
* @param \Cake\Controller\Controller $controller A reference to the controller object.
* @return bool True if current action is login action else false.
*/
protected function _isLoginAction(Controller $controller) {
Expand All @@ -393,7 +394,7 @@ protected function _isLoginAction(Controller $controller) {
/**
* Handle unauthorized access attempt
*
* @param Controller $controller A reference to the controller object
* @param \Cake\Controller\Controller $controller A reference to the controller object
* @return \Cake\Network\Response
* @throws \Cake\Error\ForbiddenException
*/
Expand Down

0 comments on commit 749cb81

Please sign in to comment.