We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01ebb84 commit f5a5cdcCopy full SHA for f5a5cdc
src/Cmgmyr/Messenger/Traits/Messagable.php
@@ -51,7 +51,7 @@ public function threadsWithNewMessages()
51
* I don't want to include as a dependency for this package...it's overkill. So let's
52
* exclude this check in the testing environment.
53
*/
54
- if (getenv('APP_ENV') == 'testing' || !str_contains(\Illuminate\Foundation\Application::VERSION, '5.0')) {
+ if ($_ENV['APP_ENV'] == 'testing' || !str_contains(\Illuminate\Foundation\Application::VERSION, '5.0')) {
55
$participants = $participants->all();
56
}
57
0 commit comments