mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-04 07:27:55 -05:00
- Replaced TRUE/FALSE constants with true/false keywords - Replaced NULL constant with null keyword - Replaced `<?php echo` in views with shortened `<?=` - Added missing variable declaration - Added missing function return type in declaration - replaced `== true`, `== false`, `=== true` and `=== false` in if statements with simplified forms
11 lines
154 B
PHP
11 lines
154 B
PHP
<?php
|
|
/**
|
|
* @var string $code
|
|
* @var string $message
|
|
*/
|
|
use CodeIgniter\CLI\CLI;
|
|
|
|
CLI::error('ERROR: ' . $code);
|
|
CLI::write($message);
|
|
CLI::newLine();
|