Fix some issues that triggered in scrutinizer.

This commit is contained in:
James Cole
2018-07-22 21:32:58 +02:00
parent 67ea825d4a
commit 4fa5f4e5a3
42 changed files with 81 additions and 80 deletions

View File

@@ -43,11 +43,11 @@ final class NotesStart extends AbstractTrigger implements TriggerInterface
* (even if it will still include 99.9% of the users transactions), this method MUST return
* false.
*
* @param null $value
* @param mixed $value
*
* @return bool
*/
public static function willMatchEverything($value = null)
public static function willMatchEverything($value = null): bool
{
if (null !== $value) {
$res = '' === (string)$value;