Optimize some code.

This commit is contained in:
James Cole
2020-08-20 17:59:44 +02:00
parent d78d2f25eb
commit 9f80d729a2
5 changed files with 3 additions and 39 deletions

View File

@@ -48,19 +48,7 @@ use Storage;
*/
class AccountRepository implements AccountRepositoryInterface
{
/** @var User */
private $user;
/**
* Constructor.
*/
public function __construct()
{
if ('testing' === config('app.env')) {
Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));
}
}
private User $user;
/**
* @param array $types