PHP7 compatible function definitions.

This commit is contained in:
James Cole
2016-04-05 22:00:03 +02:00
parent b0b5d90976
commit 37fe2d22b0
56 changed files with 209 additions and 216 deletions

View File

@@ -117,7 +117,7 @@ final class Processor
*
* @return \FireflyIII\Models\Rule
*/
public function getRule()
public function getRule(): Rule
{
return $this->rule;
}
@@ -131,7 +131,7 @@ final class Processor
*
* @return bool
*/
public function handleTransactionJournal(TransactionJournal $journal)
public function handleTransactionJournal(TransactionJournal $journal): bool
{
$this->journal = $journal;
// get all triggers: