Skip to content

Commit

Permalink
[TASK] Add missing type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Atomschinken committed Mar 11, 2024
1 parent 3f15f1d commit 51274bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/Hook/TsfeHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class TsfeHook
{
public function postProcessHashBase($params): void
public function postProcessHashBase(array $params): void
{
/** @var ServerRequest $request */
$request = $GLOBALS['TYPO3_REQUEST'];
Expand Down
2 changes: 1 addition & 1 deletion Classes/Xclass/DriverTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

trait DriverTrait
{
public function getPublicUrl(string $identifier): ?string
public function getPublicUrl($identifier): ?string
{
if ($this->fileExists($identifier)) {
$fileInfo = $this->getFileInfoByIdentifier($identifier, ['mimetype']);
Expand Down

0 comments on commit 51274bc

Please sign in to comment.