Просмотр исходного кода

Apply StyleCI fix

that class name we used was not quite correct, but PHP tolerated the typo
El RIDO 4 лет назад
Родитель
Сommit
186dd82653
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tst/Bootstrap.php

+ 1 - 1
tst/Bootstrap.php

@@ -304,7 +304,7 @@ class StorageObjectStub extends StorageObject
         $this->_generation                      = $generation;
         $this->_info                            = $info;
         $this->_connection                      = $connection;
-        $timeCreated                            = new Datetime();
+        $timeCreated                            = new DateTime();
         $this->_info['metadata']['timeCreated'] = $timeCreated->format('Y-m-d\TH:i:s.u\Z');
     }