Skip to content

Commit

Permalink
PHPStan updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Nov 17, 2024
1 parent fba1d7a commit 10b6cdb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/View/Helper/TestHelperHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class TestHelperHelper extends Helper {

/**
* @param array $params
* @param array<string, mixed> $params
* @param bool $verbose
*
* @return string
Expand All @@ -20,7 +20,7 @@ public function url(array $params, bool $verbose = false) {
}

/**
* @param array $params
* @param array<string, mixed> $params
* @param bool $verbose
*
* @return array<string>
Expand Down Expand Up @@ -76,7 +76,7 @@ protected function prepareUrl(array $params, bool $verbose = false): array {
}

/**
* @param array $params
* @param array<string, mixed> $params
*
* @return string
*/
Expand Down Expand Up @@ -127,8 +127,7 @@ protected function export($value) {
*
* @return string
*/
protected function normalizePrefix(string $prefix): string
{
protected function normalizePrefix(string $prefix): string {
if (!str_contains($prefix, '/')) {
return Inflector::camelize($prefix);
}
Expand Down

0 comments on commit 10b6cdb

Please sign in to comment.