for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Facades;
/**
* Abstract Facade
*
* @package App
* @author Rougin Royce Gutib <[email protected]>
*/
abstract class Facade
{
* Handle dynamic, static calls to the object.
* @param string $method
* @param array $arguments
* @return mixed
public static function __callStatic($method, $arguments)
$class = \App\Bootstrap::make(static::accessor());
accessor()
App\Facades\Facade
__callStatic
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
$class = \App\Bootstrap::make(static::/** @scrutinizer ignore-call */ accessor());
$instance = array($class, $method);
return call_user_func_array($instance, $arguments);
}