Browse Source

Applied fixes from StyleCI

Marcel Pociot 8 years ago
parent
commit
fbe4c59535
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Mpociot/ApiDoc/Commands/GenerateDocumentation.php

+ 2 - 2
src/Mpociot/ApiDoc/Commands/GenerateDocumentation.php

@@ -213,11 +213,11 @@ class GenerateDocumentation extends Command
         if (! empty($actAs)) {
             if (version_compare($this->laravel->version(), '5.2.0', '<')) {
                 $userModel = config('auth.model');
-                $user = $userModel::find((int)$actAs);
+                $user = $userModel::find((int) $actAs);
                 $this->laravel['auth']->setUser($user);
             } else {
                 $userModel = config('auth.providers.users.model');
-                $user = $userModel::find((int)$actAs);
+                $user = $userModel::find((int) $actAs);
                 $this->laravel['auth']->guard()->setUser($user);
             }
         }