Use PHP 7.4 featers and PHP 8 polyfills

This commit is contained in:
David Stone
2025-02-08 13:57:32 -07:00
parent 8bea6067cd
commit b41dc2b2eb
550 changed files with 15270 additions and 14627 deletions

View File

@ -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 [];
}
}