Browse Source

Fix: Missing function doc comment
Fix: Opening brace should be on a new line

Wataru Terada 10 years ago
parent
commit
e4902b7a63
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/Controller/Component/CookieComponent.php

+ 7 - 1
src/Controller/Component/CookieComponent.php

@@ -344,7 +344,13 @@ class CookieComponent extends Component
         ]);
     }
 
-    protected function _getCookieEncryptionKey() {
+    /**
+     * Returns the encryption key to be used.
+     *
+     * @return string
+     */
+    protected function _getCookieEncryptionKey()
+    {
         return $this->_config['key'];
     }
 }