Skip to content

Commit

Permalink
Remove inline assignments.
Browse files Browse the repository at this point in the history
Inline assigments are confusing, and un-necessary here as
stream_select() populates the variables.
  • Loading branch information
markstory committed Jan 30, 2013
1 parent 1a0f475 commit efe7e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Console/ConsoleInput.php
Expand Up @@ -58,7 +58,7 @@ public function read() {
*/
public function dataAvailable($timeout = 0) {
$readFds = array($this->_input);
$readyFds = stream_select($readFds, $w = null, $e = null, $timeout);
$readyFds = stream_select($readFds, $w, $e, $timeout);
return ($readyFds > 0);
}

Expand Down

0 comments on commit efe7e3f

Please sign in to comment.