mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-09 21:12:41 +00:00
More coding standard corrections.
This commit is contained in:
parent
1d1a2f859c
commit
7a287a6942
40 changed files with 61 additions and 60 deletions
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue