type hints on some fields

This commit is contained in:
Nabeel Shahzad
2017-12-01 11:27:32 -06:00
parent 622e099b97
commit 786c4be726
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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();