summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFbenas <philbeansburton@gmail.com>2018-05-07 16:47:13 +0100
committerFbenas <philbeansburton@gmail.com>2018-05-07 16:47:13 +0100
commit55acf626c2e62144984e83b42db49b298a9e2938 (patch)
treebb5143a56905dfb77ba6388057a0307abd31f790 /src
parent06fd79055b1e9f850a51b68523114d3ded5ee26c (diff)
Add unit tests and amend unit test part in readmeHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/Model/Vendor.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Model/Vendor.php b/src/Model/Vendor.php
index dfed157..927c52c 100644
--- a/src/Model/Vendor.php
+++ b/src/Model/Vendor.php
@@ -60,7 +60,6 @@ class Vendor extends Model
return static::parseVendors($fileContents);
}
-
/**
* Parse file and return array
*
@@ -112,7 +111,7 @@ class Vendor extends Model
* @param $postcode
* @param $maxCovers
*/
- public function __construct($name, $postcode, $maxCovers)
+ public function __construct(string $name, string $postcode, int $maxCovers)
{
$this->name = $name;
$this->postcode = $postcode;