Use of "static" in callables is deprecated

Created on 11 December 2023, about 1 year ago

Problem/Motivation

Deprecated: Use of "static" in callables is deprecated in /var/www/html/docroot/modules/contrib/ckeditor_templates_ui/src/Entity/CkeditorTemplates.php on line 102

Steps to reproduce

This is showing on all of my edit pages with a ckeditor.

Proposed resolution

Replace:
- uasort($entities, 'static::sort');

With:
+ uasort($entities, static::sort(...));

🐛 Bug report
Status

Active

Version

1.5

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024