kreait / laravel-firebase

A Laravel package for the Firebase PHP Admin SDK

Home Page:https://github.com/kreait/firebase-php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Symfony response setContent() error

ebiboy2 opened this issue · comments

I get this error Symfony\\Component\\HttpFoundation\\Response::setContent(): Argument #1 ($content) must be of type ?string, Kreait\\Firebase\\Auth given, called in /home/david/Documents/myNotifyApp/vendor/laravel/framework/src/Illuminate/Http/Response.php on line 72 when i call return $appAuth = Firebase::project('rabaflow-aecd0')->auth();
All credentials are correct.
What could be wrong?

Hey 👋

it looks as if you're returning the Auth component in a Controller Action instead of a string, view() or Response, but this is the only information that I can extract from the error.

If you'd like me to make more than an uneducated guess, you'd have to share some code and what you're trying to achieve 🙏

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. Please make sure to update to the latest version and check if that solves the issue. Let me know if that works for you by leaving a 👍. Because this issue is marked as stale, it will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions!