mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
inspection fixes
This commit is contained in:
parent
72cbfa19db
commit
11f34bcccc
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user