Skip to content

Commit 21b7202

Browse files
committed
Apply review feedback and fix another psalm error
1 parent 7103fe7 commit 21b7202

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Log/Engine/DebugKitLog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class DebugKitLog extends BaseLog
3131
/**
3232
* Captures log messages in memory
3333
*
34-
* @param string $level The type of message being logged.
34+
* @param mixed $level The type of message being logged.
3535
* @param string $message The message being logged.
3636
* @param array $context Additional context data
3737
* @return void

tests/TestCase/View/Helper/ToolbarHelperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function testDumpCoerceHtml()
8787
public function testDumpSorted()
8888
{
8989
$getValues = function ($el) {
90-
return (string)$el;
90+
return strval($el);
9191
};
9292
$path = '//*[@class="cake-dbg-array-item"]/*[@class="cake-dbg-string"]';
9393
$data = ['z' => 1, 'a' => 99, 'm' => 123];

0 commit comments

Comments
 (0)