Typehinting to keep phpstan happy
This commit is contained in:
parent
70a518981c
commit
c1f64a2429
|
|
@ -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'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue