PHP7 compatible type hinting [skip ci]

This commit is contained in:
James Cole
2016-02-18 07:21:48 +01:00
parent 7a7ce7fcea
commit e7be4e3e49
22 changed files with 87 additions and 139 deletions

View File

@@ -23,9 +23,9 @@ class Account
protected $start;
/**
* @return \Illuminate\Support\Collection
* @return Collection
*/
public function getAccounts()
public function getAccounts(): Collection
{
return $this->accounts;
}
@@ -41,7 +41,7 @@ class Account
/**
* @return string
*/
public function getDifference()
public function getDifference(): string
{
return $this->difference;
}
@@ -57,7 +57,7 @@ class Account
/**
* @return string
*/
public function getEnd()
public function getEnd(): string
{
return $this->end;
}
@@ -73,7 +73,7 @@ class Account
/**
* @return string
*/
public function getStart()
public function getStart(): string
{
return $this->start;
}

View File

@@ -39,7 +39,7 @@ class Balance
/**
* @return BalanceHeader
*/
public function getBalanceHeader()
public function getBalanceHeader(): BalanceHeader
{
return $this->balanceHeader;
}
@@ -53,9 +53,9 @@ class Balance
}
/**
* @return \Illuminate\Support\Collection
* @return Collection
*/
public function getBalanceLines()
public function getBalanceLines(): Collection
{
return $this->balanceLines;
}