mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Make adjustments for tests
This commit is contained in:
parent
0767139593
commit
886d2beff5
|
|
@ -36,7 +36,7 @@ final class UnhandledHandler
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function exceptionHandler($e) /* : void */
|
||||
public static function exceptionHandler(\Throwable $e) /* : void */
|
||||
{
|
||||
$logger = FileLogger::getInstance(__DIR__ . '/../Logs');
|
||||
$logger->critical(FileLogger::MSG_FULL, [
|
||||
|
|
@ -104,6 +104,8 @@ final class UnhandledHandler
|
|||
/**
|
||||
* Shutdown handler.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function shutdownHandler() /* : void */
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ class UriFactory
|
|||
$pars[] = $key . '=' . $value;
|
||||
}
|
||||
|
||||
return $parts[0] . (empty($pars) ? '' : '?' . implode('&', $pars));
|
||||
$url = $parts[0] . (empty($pars) ? '' : '?' . implode('&', $pars));
|
||||
}
|
||||
|
||||
return $url;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user