public function execute() {
- $getOptSpec = array(
+ $getOptSpec = [
'dictionaryFile::',
'minWidth::',
'maxWidth::',
'number::',
'format::'
- );
+ ];
$options = getopt( null, $getOptSpec );
$format = isset( $options['format'] ) ? $options['format'] : 'jpg';