Skip to content

Commit 2a01869

Browse files
committed
PSR12 fixes
1 parent 7c75b07 commit 2a01869

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/jblond/Diff/Renderer/Html/HtmlArray.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ function ($item) {
244244
foreach ($strings as &$line) {
245245
$line = preg_replace_callback(
246246
'/(^[ \0\1]*)/',
247-
function($matches) {
247+
function ($matches) {
248248
return str_replace(' ', " ", $matches[0]);
249249
},
250250
$line

lib/jblond/Diff/Renderer/Html/Unified.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
declare(strict_types = 1);
3+
declare(strict_types=1);
44

55
namespace jblond\Diff\Renderer\Html;
66

@@ -42,7 +42,7 @@ public function render(): string
4242
*
4343
* @return string HTML code containing the unified differences.
4444
*/
45-
public function renderHtml($changes, $object = null) : string
45+
public function renderHtml($changes, $object = null): string
4646
{
4747
if (empty($changes)) {
4848
//No changes between "old" and "new"

0 commit comments

Comments
 (0)