inspection fixes

This commit is contained in:
Dennis Eichhorn 2022-11-05 01:38:55 +01:00
parent 72cbfa19db
commit 11f34bcccc
2 changed files with 7 additions and 1 deletions

View File

@ -93,6 +93,12 @@ jobs:
ref: develop
repository: Karaka-Management/Resources
path: Resources
- name: Run the action
uses: potatoqualitee/mssqlsuite@v1.5.1
with:
install: sqlengine, sqlclient, sqlpackage, localdb
version: 2017
sa-password: R00troot
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@master
with:

View File

@ -129,7 +129,7 @@ final class Dispatcher implements DispatcherInterface
$views[$controller] = $data === null ? $function() : $function(...$data);
} elseif ($c === 2) {
$obj = $this->getController($dispatch[0]);
$obj = $this->getController($dispatch[0]);
$views[$controller] = $data === null
? $obj->{$dispatch[1]}()
: $obj->{$dispatch[1]}(...$data);