| @@ -1,21 +1,16 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -if (! defined('ABSPATH')) { | |
| 4 | - exit; | |
| 5 | -} | |
| 6 | - | |
| 7 | 3 | use Boxzilla\Boxzilla; |
| 8 | 4 | |
| 9 | 5 | /** |
| 10 | 6 | * @return Boxzilla |
| 11 | 7 | */ |
| 12 | -function boxzilla() | |
| 13 | -{ | |
| 14 | - static $instance; | |
| 8 | +function boxzilla() { | |
| 9 | + static $instance; | |
| 15 | 10 | |
| 16 | - if (is_null($instance)) { | |
| 17 | - $instance = new Boxzilla(); | |
| 18 | - } | |
| 11 | + if ( is_null( $instance ) ) { | |
| 12 | + $instance = new Boxzilla(); | |
| 13 | + } | |
| 19 | 14 | |
| 20 | - return $instance; | |
| 15 | + return $instance; | |
| 21 | 16 | } |