Fix some sonar issues (#1546)

This commit is contained in:
Alexis Saettler
2018-07-07 16:24:07 +02:00
committed by GitHub
parent 8be306ffbc
commit 18be5acaea
6 changed files with 101 additions and 94 deletions
@@ -34,7 +34,7 @@ class ApiUserController extends ApiController
{
$userCompliance = auth()->user()->getStatusForCompliance($termId);
if ($userCompliance == false) {
if (! $userCompliance) {
return $this->respondNotFound();
}