Use PHP 7.4 featers and PHP 8 polyfills
This commit is contained in:
1 parent
8bea6067cd
commit
b41dc2b2eb
550 files changed
+15270
-14627
No files matched your search
@@ -29,12 +29,12 @@ class Invoice_List_Table extends Parent_Payment_List_Table {
|
||||
*/
|
||||
public function get_columns() {
|
||||
|
||||
$columns = array(
|
||||
$columns = [
|
||||
'hash' => __('Code', 'wp-ultimo'),
|
||||
'status' => __('Status', 'wp-ultimo'),
|
||||
'total' => __('Total', 'wp-ultimo'),
|
||||
'date_created' => __('Created at', 'wp-ultimo'),
|
||||
);
|
||||
];
|
||||
|
||||
return $columns;
|
||||
}
|
||||
@@ -49,6 +49,6 @@ class Invoice_List_Table extends Parent_Payment_List_Table {
|
||||
*/
|
||||
public function bulk_actions($which = '') {
|
||||
|
||||
return array();
|
||||
return [];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user