rename hasChildren to countChildren

Signed-off-by: Andy Miller <rhuk@mac.com>
This commit is contained in:
Andy Miller
2020-05-22 10:31:30 -06:00
parent dcb0c490ba
commit a2d1cdfc13
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
# v1.7.0-rc.12
## mm/dd/2020
1. [](#improved)
* Changed `Folder::hasChildren` to `Folder::countChildren`
# v1.7.0-rc.11
## 05/14/2020

View File

@@ -488,9 +488,9 @@ abstract class Folder
* Does a directory contain children
*
* @param string $directory
* @return bool
* @return int
*/
public static function hasChildren($directory) {
public static function countChildren($directory) {
if (!is_dir($directory)) {
return false;
}