Ver Fonte

Merge remote branch 'FabienPennequin/update_docs'

* FabienPennequin/update_docs:
  Fixed typo
  Added notice for File::getDefaultExtension() method
Fabien Potencier há 14 anos atrás
pai
commit
2ab1d39644
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      UPDATE.md

+ 3 - 0
UPDATE.md

@@ -147,6 +147,9 @@ PR12 to beta1
 * The `File::getWebPath()` and `File::rename()` methods have been removed, as
   well as the `framework.document_root` configuration setting.
 
+* The `File::getDefaultExtension()` method has been renamed to `File::guessExtension()`.
+  The renamed method now returns null if it cannot guess the extension.
+
 * The `session` configuration has been refactored:
 
   * The `class` option has been removed (use the `session.class` parameter