Skip to content

Commit 582e86e

Browse files
committed
Fix phpstan and phpcs errors
1 parent 0846c0c commit 582e86e

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

‎phpstan-baseline.neon‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,6 @@ parameters:
1212
count: 1
1313
path: src/Controller/DebugKitController.php
1414

15-
-
16-
message: '#^Possibly invalid array key type string\|null\.$#'
17-
identifier: offsetAccess.invalidOffset
18-
count: 2
19-
path: src/DebugInclude.php
20-
21-
-
22-
message: '#^Possibly invalid array key type int\|string\|null\.$#'
23-
identifier: offsetAccess.invalidOffset
24-
count: 2
25-
path: src/DebugTimer.php
26-
2715
-
2816
message: '#^Parameter \#1 \$request of method DebugKit\\ToolbarService\:\:saveData\(\) expects Cake\\Http\\ServerRequest, Psr\\Http\\Message\\ServerRequestInterface given\.$#'
2917
identifier: argument.type

‎src/Database/Log/DebugLog.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function __construct(?LoggerInterface $logger, string $name, bool $includ
8080
* @param bool $value Set
8181
* @return $this
8282
*/
83-
public function setIncludeSchema(bool $value)
83+
public function setIncludeSchema(bool $value): static
8484
{
8585
$this->_includeSchema = $value;
8686

0 commit comments

Comments
 (0)