Add newlines and strict types

This commit is contained in:
James Cole
2018-03-05 19:35:58 +01:00
parent 0d72fcdf02
commit a97bfc92e1
100 changed files with 112 additions and 89 deletions

View File

@@ -1,4 +1,6 @@
<?php <?php
declare(strict_types=1);
/** /**
* Authenticate.php * Authenticate.php
* Copyright (c) 2018 thegrumpydictator@gmail.com * Copyright (c) 2018 thegrumpydictator@gmail.com

View File

@@ -1,4 +1,6 @@
<?php <?php
declare(strict_types=1);
/** /**

View File

@@ -1,4 +1,6 @@
<?php <?php
declare(strict_types=1);
/** /**

View File

@@ -156,6 +156,9 @@ class Preferences
if (null !== $preference) { if (null !== $preference) {
$lastActivity = $preference->data; $lastActivity = $preference->data;
} }
if (is_array($lastActivity)) {
$lastActivity = implode(',', $lastActivity);
}
return md5($lastActivity); return md5($lastActivity);
} }

View File

@@ -1,4 +1,6 @@
<?php <?php
declare(strict_types=1);
/** /**

View File

@@ -1,4 +1,6 @@
<?php <?php
declare(strict_types=1);
/** /**

View File

@@ -1,4 +1,6 @@
<?php <?php
declare(strict_types=1);
/** /**

View File

@@ -1,4 +1,6 @@
<?php <?php
declare(strict_types=1);
/** /**

View File

@@ -1,4 +1,6 @@
<?php <?php
declare(strict_types=1);
/** /**

View File

@@ -1,4 +1,6 @@
<?php <?php
declare(strict_types=1);
/** /**

View File

@@ -1,4 +1,6 @@
<?php <?php
declare(strict_types=1);
/** /**