mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-06 20:48:40 +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
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public static function exceptionHandler($e) /* : void */
|
public static function exceptionHandler(\Throwable $e) /* : void */
|
||||||
{
|
{
|
||||||
$logger = FileLogger::getInstance(__DIR__ . '/../Logs');
|
$logger = FileLogger::getInstance(__DIR__ . '/../Logs');
|
||||||
$logger->critical(FileLogger::MSG_FULL, [
|
$logger->critical(FileLogger::MSG_FULL, [
|
||||||
|
|
@ -104,6 +104,8 @@ final class UnhandledHandler
|
||||||
/**
|
/**
|
||||||
* Shutdown handler.
|
* Shutdown handler.
|
||||||
*
|
*
|
||||||
|
* @return void
|
||||||
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public static function shutdownHandler() /* : void */
|
public static function shutdownHandler() /* : void */
|
||||||
|
|
|
||||||
|
|
@ -197,7 +197,7 @@ class UriFactory
|
||||||
$pars[] = $key . '=' . $value;
|
$pars[] = $key . '=' . $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $parts[0] . (empty($pars) ? '' : '?' . implode('&', $pars));
|
$url = $parts[0] . (empty($pars) ? '' : '?' . implode('&', $pars));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $url;
|
return $url;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user