PluginProbe
Boxzilla – WordPress Popup Builder / 3.4.0
Boxzilla – WordPress Popup Builder v3.4.0
3.4.11 3.4.10 3.4.9 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 trunk 3.0 3.0.1 3.0.2 3.0.3 3.1 3.1.1 3.1.10 3.1.11 3.1.12 3.1.13 3.1.14 3.1.15 3.1.16 3.1.17 3.1.18 All 72 releases
← All changes | src/licensing/services.php +12 -12 trunk3.4.0 View file →
@@ -1,28 +1,28 @@
1 1 <?php
2 2
3 3 namespace Boxzilla\Licensing;
4 4
5 -defined('ABSPATH') or exit;
5 +defined( 'ABSPATH' ) or exit;
6 6
7 7 $boxzilla = boxzilla();
8 8
9 -$boxzilla['license'] = function ($boxzilla) {
10 - return new License('boxzilla_license');
9 +$boxzilla['license'] = function ( $boxzilla ) {
10 + return new License( 'boxzilla_license' );
11 11 };
12 12
13 -$boxzilla['license_api'] = function ($boxzilla) {
14 - $api_url = 'https://my.boxzillaplugin.com/api/v2';
15 - return new API($api_url, $boxzilla['license']);
13 +$boxzilla['license_api'] = function ( $boxzilla ) {
14 + $api_url = 'https://my.boxzillaplugin.com/api/v2';
15 + return new API( $api_url, $boxzilla['license'] );
16 16 };
17 17
18 -$boxzilla['license_manager'] = function ($boxzilla) {
19 - return new LicenseManager($boxzilla['plugins'], $boxzilla['license_api'], $boxzilla['license']);
18 +$boxzilla['license_manager'] = function ( $boxzilla ) {
19 + return new LicenseManager( $boxzilla['plugins'], $boxzilla['license_api'], $boxzilla['license'] );
20 20 };
21 21
22 -$boxzilla['update_manager'] = function ($boxzilla) {
23 - return new UpdateManager($boxzilla['plugins'], $boxzilla['license_api'], $boxzilla['license']);
22 +$boxzilla['update_manager'] = function ( $boxzilla ) {
23 + return new UpdateManager( $boxzilla['plugins'], $boxzilla['license_api'], $boxzilla['license'] );
24 24 };
25 25
26 -$boxzilla['license_poller'] = function ($boxzilla) {
27 - return new Poller($boxzilla['license_api'], $boxzilla['license']);
26 +$boxzilla['license_poller'] = function ( $boxzilla ) {
27 + return new Poller( $boxzilla['license_api'], $boxzilla['license'] );
28 28 };