summaryrefslogtreecommitdiff
path: root/src/Model
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model')
-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;