Use of "static" in callables is deprecated

Created on 11 December 2023, 5 months ago
Updated 4 May 2024, 14 days 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

Fixed

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.67.2 2024