Corrected ctype
This commit is contained in:
parent
9831b9dca1
commit
cdd3516766
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Symfony\Polyfill\Ctype;
|
namespace ncc\ThirdParty\Symfony\polyfill_ctype;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ctype implementation through regex.
|
* Ctype implementation through regex.
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Symfony\Polyfill\Ctype as p;
|
use ncc\ThirdParty\Symfony\polyfill_ctype as p;
|
||||||
|
|
||||||
if (\PHP_VERSION_ID >= 80000) {
|
if (\PHP_VERSION_ID >= 80000) {
|
||||||
return require __DIR__.'/bootstrap80.php';
|
return require __DIR__.'/bootstrap80.php';
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Symfony\Polyfill\Ctype as p;
|
use ncc\ThirdParty\Symfony\polyfill_ctype as p;
|
||||||
|
|
||||||
if (!function_exists('ctype_alnum')) {
|
if (!function_exists('ctype_alnum')) {
|
||||||
function ctype_alnum(mixed $text): bool { return p\Ctype::ctype_alnum($text); }
|
function ctype_alnum(mixed $text): bool { return p\Ctype::ctype_alnum($text); }
|
||||||
|
|
Loading…
Add table
Reference in a new issue