mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 05:58:42 +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
|
ref: develop
|
||||||
repository: Karaka-Management/Resources
|
repository: Karaka-Management/Resources
|
||||||
path: 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
|
- name: Setup PHP, with composer and extensions
|
||||||
uses: shivammathur/setup-php@master
|
uses: shivammathur/setup-php@master
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -129,7 +129,7 @@ final class Dispatcher implements DispatcherInterface
|
||||||
|
|
||||||
$views[$controller] = $data === null ? $function() : $function(...$data);
|
$views[$controller] = $data === null ? $function() : $function(...$data);
|
||||||
} elseif ($c === 2) {
|
} elseif ($c === 2) {
|
||||||
$obj = $this->getController($dispatch[0]);
|
$obj = $this->getController($dispatch[0]);
|
||||||
$views[$controller] = $data === null
|
$views[$controller] = $data === null
|
||||||
? $obj->{$dispatch[1]}()
|
? $obj->{$dispatch[1]}()
|
||||||
: $obj->{$dispatch[1]}(...$data);
|
: $obj->{$dispatch[1]}(...$data);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user