Skip to content

Commit e52f605

Browse files
committed
Deal with psalm error
1 parent 6c13a92 commit e52f605

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Datasource/Query.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ public function page(int $num, ?int $limit = null)
363363
* @param int $limit number of records to be returned
364364
* @return $this
365365
* @psalm-suppress MoreSpecificImplementedParamType
366+
* @psalm-suppress ParamNameMismatch
366367
*/
367368
public function limit($limit)
368369
{

src/Datasource/Schema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public function addColumn(string $name, $attrs)
178178
/**
179179
* Get the column names in the endpoint.
180180
*
181-
* @return array
181+
* @return string[]
182182
*/
183183
public function columns(): array
184184
{

0 commit comments

Comments
 (0)