Skip to content

Commit 1cabe8f

Browse files
authored
Merge pull request #37 from yajra/neon
fix(phpstan): Remove ignored errors
2 parents 0f384b0 + d491bff commit 1cabe8f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

phpstan.neon.dist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ parameters:
1010

1111
ignoreErrors:
1212
- '#Parameter \#1 \$callback of method Illuminate\\Container\\Container::call\(\) expects \(callable\(\): mixed\)\|string*#'
13-
- '#Parameter \#2 \$needles of static method Illuminate\\Support\\Str::endsWith*#'
14-
- '#Parameter \#2 \$needles of static method Illuminate\\Support\\Str::contains*#'
1513

1614
excludePaths:
1715
- tests

src/WithExportQueue.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ trait WithExportQueue
1414
/**
1515
* Process dataTables needed render output.
1616
*
17-
* @param string $view
17+
* @param string|null $view
1818
* @param array $data
1919
* @param array $mergeData
2020
* @return mixed
2121
*
2222
* @throws \Throwable
2323
*/
24-
public function render($view, $data = [], $mergeData = [])
24+
public function render(string $view = null, array $data = [], array $mergeData = [])
2525
{
2626
if (request()->ajax() && request('action') == 'exportQueue') {
2727
return $this->exportQueue();

0 commit comments

Comments
 (0)