Declare strict types.

This commit is contained in:
James Cole
2016-05-20 08:57:45 +02:00
parent 782a6f289c
commit 66d7fd7d4c
146 changed files with 394 additions and 83 deletions

View File

@@ -1,4 +1,6 @@
<?php
declare(strict_types = 1);
/**
* EntryAccount.php
* Copyright (C) 2016 thegrumpydictator@gmail.com

View File

@@ -1,4 +1,6 @@
<?php
declare(strict_types = 1);
/**
* EntryBill.php
* Copyright (C) 2016 thegrumpydictator@gmail.com

View File

@@ -1,4 +1,6 @@
<?php
declare(strict_types = 1);
/**
* EntryBudget.php
* Copyright (C) 2016 thegrumpydictator@gmail.com

View File

@@ -1,4 +1,6 @@
<?php
declare(strict_types = 1);
/**
* EntryCategory.php
* Copyright (C) 2016 thegrumpydictator@gmail.com

View File

@@ -157,7 +157,7 @@ class Processor
foreach ($this->getFiles() as $entry) {
// is part of this job?
$zipFileName = str_replace($this->job->key . '-', '', $entry);
$result = $zip->addFromString($zipFileName, $disk->get($entry));
$zip->addFromString($zipFileName, $disk->get($entry));
}
$zip->close();