| @@ -57,35 +57,31 @@ | ||
| 57 | 57 | /** |
| 58 | 58 | * [$data description] |
| 59 | 59 | * |
| 60 | 60 | * @since 1.0.0 |
| 61 | - * @var string | |
| 62 | 61 | */ |
| 63 | - protected $data = ''; | |
| 62 | + protected string $data = ''; | |
| 64 | 63 | |
| 65 | 64 | /** |
| 66 | 65 | * [$error description] |
| 67 | 66 | * |
| 68 | 67 | * @since 1.0.0 |
| 69 | - * @var int | |
| 70 | 68 | */ |
| 71 | - public $error; | |
| 69 | + public int $error; | |
| 72 | 70 | |
| 73 | 71 | /** |
| 74 | 72 | * [$bigBlockChain description] |
| 75 | 73 | * |
| 76 | 74 | * @since 1.0.0 |
| 77 | - * @var array | |
| 78 | 75 | */ |
| 79 | - protected $bigBlockChain = array(); | |
| 76 | + protected array $bigBlockChain = array(); | |
| 80 | 77 | |
| 81 | 78 | /** |
| 82 | 79 | * [$smallBlockChain description] |
| 83 | 80 | * |
| 84 | 81 | * @since 1.0.0 |
| 85 | - * @var array | |
| 86 | 82 | */ |
| 87 | - protected $smallBlockChain = array(); | |
| 83 | + protected array $smallBlockChain = array(); | |
| 88 | 84 | |
| 89 | 85 | /** |
| 90 | 86 | * [$entry description] |
| 91 | 87 | * |
| @@ -382,35 +378,31 @@ | ||
| 382 | 378 | /** |
| 383 | 379 | * [$colnames description] |
| 384 | 380 | * |
| 385 | 381 | * @since 1.0.0 |
| 386 | - * @var array | |
| 387 | 382 | */ |
| 388 | - public $colnames = array(); | |
| 383 | + public array $colnames = array(); | |
| 389 | 384 | |
| 390 | 385 | /** |
| 391 | 386 | * [$colindexes description] |
| 392 | 387 | * |
| 393 | 388 | * @since 1.0.0 |
| 394 | - * @var array | |
| 395 | 389 | */ |
| 396 | - public $colindexes = array(); | |
| 390 | + public array $colindexes = array(); | |
| 397 | 391 | |
| 398 | 392 | /** |
| 399 | 393 | * [$standardColWidth description] |
| 400 | 394 | * |
| 401 | 395 | * @since 1.0.0 |
| 402 | - * @var int | |
| 403 | 396 | */ |
| 404 | - public $standardColWidth = 0; | |
| 397 | + public int $standardColWidth = 0; | |
| 405 | 398 | |
| 406 | 399 | /** |
| 407 | 400 | * [$defaultColWidth description] |
| 408 | 401 | * |
| 409 | 402 | * @since 1.0.0 |
| 410 | - * @var int | |
| 411 | 403 | */ |
| 412 | - public $defaultColWidth = 0; | |
| 404 | + public int $defaultColWidth = 0; | |
| 413 | 405 | |
| 414 | 406 | /** |
| 415 | 407 | * [$store_extended_info description] |
| 416 | 408 | * |
| @@ -1275,33 +1267,32 @@ | ||
| 1275 | 1267 | |
| 1276 | 1268 | // -------------- |
| 1277 | 1269 | // END PUBLIC API |
| 1278 | 1270 | |
| 1279 | - protected $boundsheets = array(); | |
| 1280 | - protected $formatRecords = array(); | |
| 1281 | - protected $fontRecords = array(); | |
| 1282 | - protected $xfRecords = array(); | |
| 1283 | - protected $colInfo = array(); | |
| 1284 | - protected $rowInfo = array(); | |
| 1271 | + protected array $boundsheets = array(); | |
| 1272 | + protected array $formatRecords = array(); | |
| 1273 | + protected array $fontRecords = array(); | |
| 1274 | + protected array $xfRecords = array(); | |
| 1275 | + protected array $colInfo = array(); | |
| 1276 | + protected array $rowInfo = array(); | |
| 1285 | 1277 | |
| 1286 | - protected $sst = array(); | |
| 1287 | - protected $sheets = array(); | |
| 1278 | + protected array $sst = array(); | |
| 1279 | + protected array $sheets = array(); | |
| 1288 | 1280 | |
| 1289 | 1281 | protected $data; |
| 1290 | 1282 | protected $_ole; |
| 1291 | - protected $_defaultEncoding = 'UTF-8'; | |
| 1292 | - protected $_defaultFormat = SPREADSHEET_EXCEL_READER_DEF_NUM_FORMAT; | |
| 1293 | - protected $_columnsFormat = array(); | |
| 1294 | - protected $_rowoffset = 1; | |
| 1295 | - protected $_coloffset = 1; | |
| 1283 | + protected string $_defaultEncoding = 'UTF-8'; | |
| 1284 | + protected string $_defaultFormat = SPREADSHEET_EXCEL_READER_DEF_NUM_FORMAT; | |
| 1285 | + protected array $_columnsFormat = array(); | |
| 1286 | + protected int $_rowoffset = 1; | |
| 1287 | + protected int $_coloffset = 1; | |
| 1296 | 1288 | |
| 1297 | 1289 | /** |
| 1298 | 1290 | * List of default date formats used by Excel |
| 1299 | 1291 | * |
| 1300 | 1292 | * @since 1.0.0 |
| 1301 | - * @var array | |
| 1302 | 1293 | */ |
| 1303 | - protected $dateFormats = array( | |
| 1294 | + protected array $dateFormats = array( | |
| 1304 | 1295 | 0xe => 'm/d/Y', |
| 1305 | 1296 | 0xf => 'M-d-Y', |
| 1306 | 1297 | 0x10 => 'd-M', |
| 1307 | 1298 | 0x11 => 'M-Y', |
| @@ -1318,11 +1309,10 @@ | ||
| 1318 | 1309 | /** |
| 1319 | 1310 | * Default number formats used by Excel |
| 1320 | 1311 | * |
| 1321 | 1312 | * @since 1.0.0 |
| 1322 | - * @var array | |
| 1323 | 1313 | */ |
| 1324 | - protected $numberFormats = array( | |
| 1314 | + protected array $numberFormats = array( | |
| 1325 | 1315 | 0x1 => '0', |
| 1326 | 1316 | 0x2 => '0.00', |
| 1327 | 1317 | 0x3 => '#,##0', |
| 1328 | 1318 | 0x4 => '#,##0.00', |
| @@ -1347,11 +1337,10 @@ | ||
| 1347 | 1337 | /** |
| 1348 | 1338 | * [$colors description] |
| 1349 | 1339 | * |
| 1350 | 1340 | * @since 1.0.0 |
| 1351 | - * @var array | |
| 1352 | 1341 | */ |
| 1353 | - protected $colors = array( | |
| 1342 | + protected array $colors = array( | |
| 1354 | 1343 | 0x00 => '#000000', |
| 1355 | 1344 | 0x01 => '#FFFFFF', |
| 1356 | 1345 | 0x02 => '#FF0000', |
| 1357 | 1346 | 0x03 => '#00FF00', |
| @@ -1429,11 +1418,10 @@ | ||
| 1429 | 1418 | /** |
| 1430 | 1419 | * [$lineStyles description] |
| 1431 | 1420 | * |
| 1432 | 1421 | * @since 1.0.0 |
| 1433 | - * @var array | |
| 1434 | 1422 | */ |
| 1435 | - protected $lineStyles = array( | |
| 1423 | + protected array $lineStyles = array( | |
| 1436 | 1424 | 0x00 => '', |
| 1437 | 1425 | 0x01 => 'Thin', |
| 1438 | 1426 | 0x02 => 'Medium', |
| 1439 | 1427 | 0x03 => 'Dashed', |
| @@ -1452,11 +1440,10 @@ | ||
| 1452 | 1440 | /** |
| 1453 | 1441 | * [$lineStylesCss description] |
| 1454 | 1442 | * |
| 1455 | 1443 | * @since 1.0.0 |
| 1456 | - * @var array | |
| 1457 | 1444 | */ |
| 1458 | - protected $lineStylesCss = array( | |
| 1445 | + protected array $lineStylesCss = array( | |
| 1459 | 1446 | 'Thin' => '1px solid', |
| 1460 | 1447 | 'Medium' => '2px solid', |
| 1461 | 1448 | 'Dashed' => '1px dashed', |
| 1462 | 1449 | 'Dotted' => '1px dotted', |