mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-03-26 01:42:10 +01:00
13 lines
313 B
PHP
13 lines
313 B
PHP
--TEST--
|
|
PHPC-1053: MongoDB\BSON\UTCDateTime's constructor has argument defined as required
|
|
--FILE--
|
|
<?php
|
|
$reflection = new ReflectionMethod(MongoDB\BSON\UTCDateTime::class, '__construct');
|
|
var_dump($reflection->getParameters()[0]->isOptional());
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECT--
|
|
bool(true)
|
|
===DONE===
|