Fix tests.

This commit is contained in:
James Cole
2018-07-22 17:06:10 +02:00
parent a722dc4235
commit ea2c48bca5
8 changed files with 20 additions and 16 deletions

View File

@@ -85,10 +85,10 @@ class Tag extends Model
*
* @param $value
*
* @return string
* @return string|null
* @throws \Illuminate\Contracts\Encryption\DecryptException
*/
public function getDescriptionAttribute($value): string
public function getDescriptionAttribute($value): ?string
{
if (null === $value) {
return $value;