mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-30 12:07:56 +00:00
Typehinting to keep phpstan happy
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
function orderGrid()
|
||||
function orderGrid(): array
|
||||
{
|
||||
return [
|
||||
['Order ID', 10247, 10249, 10250, 10251, 10252, 10253],
|
||||
@@ -9,7 +9,7 @@ function orderGrid()
|
||||
];
|
||||
}
|
||||
|
||||
function partsGrid()
|
||||
function partsGrid(): array
|
||||
{
|
||||
return [
|
||||
['Axles', 'Bearings', 'Bolts'],
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
function densityGrid()
|
||||
function densityGrid(): array
|
||||
{
|
||||
return [
|
||||
['Density', 'Viscosity', 'Temperature'],
|
||||
|
||||
Reference in New Issue
Block a user