]> BookStack Code Mirror - bookstack/blobdiff - app/Exceptions/StoppedAuthenticationException.php
Opensearch: Fixed XML declaration when php short tags enabled
[bookstack] / app / Exceptions / StoppedAuthenticationException.php
index 51e48aa1cf307f7dc211fd2e96f94eadc3dbf583..8a917bc52261340889d6ea5259f4b4a005def92d 100644 (file)
@@ -9,16 +9,10 @@ use Illuminate\Http\Request;
 
 class StoppedAuthenticationException extends \Exception implements Responsable
 {
-    protected $user;
-    protected $loginService;
-
-    /**
-     * StoppedAuthenticationException constructor.
-     */
-    public function __construct(User $user, LoginService $loginService)
-    {
-        $this->user = $user;
-        $this->loginService = $loginService;
+    public function __construct(
+        protected User $user,
+        protected LoginService $loginService
+    ) {
         parent::__construct();
     }