mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- update .devcontainer settings: remove auto-formatting for php + set intelephense as default formatter - remove prettier php plugin as it lacks php 8 support - add captain hook action for checking style pre-commit - fix style with ecs on all files except views
17 lines
380 B
PHP
17 lines
380 B
PHP
<?php
|
|
|
|
namespace App\Libraries;
|
|
|
|
use CodeIgniter\HTTP\Negotiate as CodeIgniterHTTPNegotiate;
|
|
|
|
class Negotiate extends CodeIgniterHTTPNegotiate
|
|
{
|
|
/**
|
|
* @param mixed[] $acceptable
|
|
*/
|
|
public function callMatch(array $acceptable, string $supported, bool $enforceTypes = false): bool
|
|
{
|
|
return $this->match($acceptable, $supported, $enforceTypes);
|
|
}
|
|
}
|