htmlburger /
wpemerge
| 1 | <?php |
||||||
| 2 | /** |
||||||
| 3 | * @package WPEmerge |
||||||
| 4 | * @author Atanas Angelov <[email protected]> |
||||||
| 5 | * @copyright 2018 Atanas Angelov |
||||||
| 6 | * @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 |
||||||
| 7 | * @link https://wpemerge.com/ |
||||||
| 8 | */ |
||||||
| 9 | |||||||
| 10 | if ( ! defined( 'ABSPATH' ) ) { |
||||||
| 11 | exit; |
||||||
| 12 | } |
||||||
| 13 | |||||||
| 14 | /** |
||||||
| 15 | * View used to override the loaded view file by WordPress when a route is handled |
||||||
| 16 | */ |
||||||
| 17 | $response = \WPEmerge\Facades\Application::resolve( WPEMERGE_RESPONSE_KEY ); |
||||||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||||||
| 18 | if ( $response !== null ) { |
||||||
| 19 | \WPEmerge\Facades\Application::respond( $response ); |
||||||
|
0 ignored issues
–
show
The method
respond() does not exist on WPEmerge\Facades\Application. Since you implemented __callStatic, consider adding a @method annotation.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||||
| 20 | } |
||||||
| 21 |