for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
if ( ! function_exists('foundation')) {
/**
* Get the Foundation instance.
*
* @return \Arcanesoft\Foundation\Contracts\Foundation
*/
function foundation() {
return app(Arcanesoft\Foundation\Contracts\Foundation::class);
app
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
return /** @scrutinizer ignore-call */ app(Arcanesoft\Foundation\Contracts\Foundation::class);
}