mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-02 13:29:36 +00:00
Moved remaining twig extensions to new attributes system
This commit is contained in:
parent
f69b0889eb
commit
1996db6a53
12 changed files with 212 additions and 168 deletions
|
|
@ -32,7 +32,7 @@ class LogDiffFormatter
|
|||
* @param $old_data
|
||||
* @param $new_data
|
||||
*/
|
||||
public function formatDiff($old_data, $new_data): string
|
||||
public function formatDiff(mixed $old_data, mixed $new_data): string
|
||||
{
|
||||
if (is_string($old_data) && is_string($new_data)) {
|
||||
return $this->diffString($old_data, $new_data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue