Typehinting to keep phpstan happy

This commit is contained in:
MarkBaker 2021-05-29 13:13:21 +02:00 committed by Mark Baker
parent 70a518981c
commit c1f64a2429
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
function orderGrid() function orderGrid(): array
{ {
return [ return [
['Order ID', 10247, 10249, 10250, 10251, 10252, 10253], ['Order ID', 10247, 10249, 10250, 10251, 10252, 10253],
@ -9,7 +9,7 @@ function orderGrid()
]; ];
} }
function partsGrid() function partsGrid(): array
{ {
return [ return [
['Axles', 'Bearings', 'Bolts'], ['Axles', 'Bearings', 'Bolts'],

View File

@ -1,6 +1,6 @@
<?php <?php
function densityGrid() function densityGrid(): array
{ {
return [ return [
['Density', 'Viscosity', 'Temperature'], ['Density', 'Viscosity', 'Temperature'],