PluginProbe
Boxzilla – WordPress Popup Builder / 3.2.21
Boxzilla – WordPress Popup Builder v3.2.21
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/class-api-exception.php +7 -7 3.13.2.21 View file →
@@ -5,23 +5,24 @@
5 5 use Exception;
6 6
7 7 class API_Exception extends Exception {
8 8
9 +
9 10 /**
10 11 * @var string
11 12 */
12 - protected $apiCode;
13 + protected $api_code;
13 14
14 15 /**
15 16 * API_Exception constructor.
16 17 *
17 18 * @param string $message
18 - * @param string $apiCode (optional)
19 + * @param string $api_code (optional)
19 20 */
20 - public function __construct( $message, $apiCode = '' ) {
21 + public function __construct( $message, $api_code = '' ) {
21 22 parent::__construct( $message );
22 23
23 - $this->apiCode = $apiCode;
24 + $this->api_code = $api_code;
24 25 }
25 26
26 27 /**
27 28 * @return string
@@ -26,8 +27,7 @@
26 27 /**
27 28 * @return string
28 29 */
29 30 public function getApiCode() {
30 - return $this->apiCode;
31 + return $this->api_code;
31 32 }
32 -
33 -}
33 +}