| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | namespace Elementor\Core\Logger\Items; |
| 3 | 3 | |
| 4 | 4 | if ( ! defined( 'ABSPATH' ) ) { |
| 5 | - exit; // Exit if accessed directly. | |
| 5 | + exit; // Exit if accessed directly | |
| 6 | 6 | } |
| 7 | 7 | |
| 8 | 8 | class JS extends File { |
| 9 | 9 | |
| @@ -17,9 +17,8 @@ | ||
| 17 | 17 | $this->file = $args['url']; |
| 18 | 18 | $this->date = gmdate( 'Y-m-d H:i:s', $args['timestamp'] ); |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | - #[\ReturnTypeWillChange] | |
| 22 | 21 | public function jsonSerialize() { |
| 23 | 22 | $json_arr = parent::jsonSerialize(); |
| 24 | 23 | $json_arr['column'] = $this->column; |
| 25 | 24 | return $json_arr; |