Skip to content

Commit

Permalink
Remove nonexistent params and returns
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Jan 28, 2014
1 parent 6d46bdc commit f46d938
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 16 deletions.
2 changes: 0 additions & 2 deletions src/Console/Command/UpgradeShell.php
Expand Up @@ -210,8 +210,6 @@ public function app_uses() {
* Replace all the App::uses() calls with `use`.
*
* @param string $file The file to search and replace.
* @param boolean $dryRun Whether or not to do the thing
* @return mixed Replacement of uses call
*/
protected function _replaceUses($file) {
$pattern = '#App::uses\([\'"]([a-z0-9_]+)[\'"],\s*[\'"]([a-z0-9/_]+)(?:\.([a-z0-9/_]+))?[\'"]\)#i';
Expand Down
3 changes: 0 additions & 3 deletions src/Controller/Component/Acl/IniAcl.php
Expand Up @@ -57,7 +57,6 @@ public function initialize(Component $component) {
* @param string $aro ARO The requesting object identifier.
* @param string $aco ACO The controlled object identifier.
* @param string $action Action (defaults to *)
* @return boolean Success
*/
public function allow($aro, $aco, $action = "*") {
}
Expand All @@ -68,7 +67,6 @@ public function allow($aro, $aco, $action = "*") {
* @param string $aro ARO The requesting object identifier.
* @param string $aco ACO The controlled object identifier.
* @param string $action Action (defaults to *)
* @return boolean Success
*/
public function deny($aro, $aco, $action = "*") {
}
Expand All @@ -79,7 +77,6 @@ public function deny($aro, $aco, $action = "*") {
* @param string $aro ARO The requesting object identifier.
* @param string $aco ACO The controlled object identifier.
* @param string $action Action (defaults to *)
* @return boolean Success
*/
public function inherit($aro, $aco, $action = "*") {
}
Expand Down
2 changes: 0 additions & 2 deletions src/Controller/Component/Auth/BaseAuthenticate.php
Expand Up @@ -196,8 +196,6 @@ public function getUser(Request $request) {
*
* @param Cake\Network\Request $request A request object.
* @param Cake\Network\Response $response A response object.
* @return mixed Either true to indicate the unauthenticated request has been
* dealt with and no more action is required by AuthComponent or void (default).
*/
public function unauthenticated(Request $request, Response $response) {
}
Expand Down
1 change: 0 additions & 1 deletion src/Controller/Component/PaginatorComponent.php
Expand Up @@ -274,7 +274,6 @@ public function getDefaults($alias, $defaults) {
*
* @param Table $object The model being paginated.
* @param array $options The pagination options being used for this request.
* @param array $whitelist The list of columns that can be used for sorting. If empty all keys are allowed.
* @return array An array of options with sort + direction removed and replaced with order if possible.
*/
public function validateSort(Table $object, array $options) {
Expand Down
2 changes: 0 additions & 2 deletions src/Controller/Component/RequestHandlerComponent.php
Expand Up @@ -196,7 +196,6 @@ protected function _setExtension() {
* to the $data property of the controller, which can then be saved to a model object.
*
* @param Event $event The startup event that was fired.
* @param Controller $controller A reference to the controller
* @return void
*/
public function startup(Event $event) {
Expand Down Expand Up @@ -278,7 +277,6 @@ public function beforeRedirect(Event $event, $url, $response) {
* "304 Not Modified" header.
*
* @param Event $event The Controller.beforeRender event.
* @param Controller $controller
* @return boolean false if the render process should be aborted
*/
public function beforeRender(Event $event) {
Expand Down
2 changes: 0 additions & 2 deletions src/Controller/Controller.php
Expand Up @@ -733,7 +733,6 @@ public function beforeRender(Event $event) {
* or an absolute URL
* @param integer $status Optional HTTP status code (eg: 404)
* @param boolean $exit If true, exit() will be called after the redirect
* @return mixed
* false to stop redirection event,
* string controllers a new redirection URL or
* array with the keys url, status and exit to be used by the redirect method.
Expand All @@ -746,7 +745,6 @@ public function beforeRedirect(Event $event, $url, $status = null, $exit = true)
* Called after the controller action is run and rendered.
*
* @param Event $event An Event instance
* @return void
* @link http://book.cakephp.org/2.0/en/controllers.html#request-life-cycle-callbacks
*/
public function afterFilter(Event $event) {
Expand Down
1 change: 0 additions & 1 deletion src/Database/Connection.php
Expand Up @@ -86,7 +86,6 @@ class Connection {
* Constructor
*
* @param array $config configuration for connecting to database
* @return self
*/
public function __construct($config) {
$this->_config = $config;
Expand Down
1 change: 0 additions & 1 deletion src/Database/IdentifierQuoter.php
Expand Up @@ -154,7 +154,6 @@ protected function _quoteJoins($joins) {
* Quotes the table name and columns for an insert query
*
* @param Query $query
* @return Query
*/
protected function _quoteInsert($query) {
list($table, $columns) = $query->clause('insert');
Expand Down
1 change: 0 additions & 1 deletion src/Network/Http/Message.php
Expand Up @@ -167,7 +167,6 @@ public function cookies() {
/**
* Get the HTTP version used.
*
* @param null|string $version
* @return string
*/
public function version() {
Expand Down
1 change: 0 additions & 1 deletion src/ORM/Associations.php
Expand Up @@ -133,7 +133,6 @@ public function saveParents(Table $table, Entity $entity, $associations, $option
*
* @param Table $table The table entity is for.
* @param Entity $entity The entity to save associated data for.
* @param Entity $entity The entity to save associated data for.
* @param array $associations The list of associations to save children from.
* associations not in this list will not be saved.
* @param array $options The options for the save operation.
Expand Down

0 comments on commit f46d938

Please sign in to comment.