Add newlines and strict types check.

This commit is contained in:
James Cole
2020-12-22 05:35:06 +01:00
parent c7cf55b831
commit b263120c8f
48 changed files with 79 additions and 44 deletions

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/*
* MessageGeneratorInterface.php
* Copyright (c) 2020 james@firefly-iii.org
@@ -54,4 +55,4 @@ interface MessageGeneratorInterface
* @param int $trigger
*/
public function setTrigger(int $trigger): void;
}
}

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/*
* WebhookMessageGenerator.php
* Copyright (c) 2020 james@firefly-iii.org
@@ -231,4 +232,4 @@ class StandardMessageGenerator implements MessageGeneratorInterface
{
return $this->version;
}
}
}