More coding standard corrections.

This commit is contained in:
euromark 2014-04-29 14:19:33 +02:00
parent 1d1a2f859c
commit 7a287a6942
40 changed files with 61 additions and 60 deletions

View file

@ -47,7 +47,7 @@ class ConsoleInput {
* @param string $handle The location of the stream to use as input.
*/
public function __construct($handle = 'php://stdin') {
$this->_canReadline = extension_loaded('readline') && $handle == 'php://stdin' ? true : false;
$this->_canReadline = extension_loaded('readline') && $handle === 'php://stdin' ? true : false;
$this->_input = fopen($handle, 'r');
}