type hints on some fields
This commit is contained in:
@@ -25,7 +25,7 @@ class AircraftRepository extends BaseRepository implements CacheableInterface
|
|||||||
* Return the list of aircraft formatted for a select box
|
* Return the list of aircraft formatted for a select box
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function selectBoxList()
|
public function selectBoxList(): array
|
||||||
{
|
{
|
||||||
$retval = [];
|
$retval = [];
|
||||||
$items = $this->all();
|
$items = $this->all();
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ class AirlineRepository extends BaseRepository implements CacheableInterface
|
|||||||
* Return the list of airline formatted for a select box
|
* Return the list of airline formatted for a select box
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function selectBoxList()
|
public function selectBoxList(): array
|
||||||
{
|
{
|
||||||
$retval = [];
|
$retval = [];
|
||||||
$items = $this->all();
|
$items = $this->all();
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ class AirportRepository extends BaseRepository implements CacheableInterface
|
|||||||
* Return the list of airports formatted for a select box
|
* Return the list of airports formatted for a select box
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function selectBoxList()
|
public function selectBoxList(): array
|
||||||
{
|
{
|
||||||
$retval = [];
|
$retval = [];
|
||||||
$items = $this->all();
|
$items = $this->all();
|
||||||
|
|||||||
Reference in New Issue
Block a user