From 16df1c5188d5a312ef5db7db427961597fe56ebe Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Tue, 12 Apr 2016 12:52:51 +0200 Subject: apps: Fix typos (found by codespell) (#23862) Signed-off-by: Stefan Weil --- apps/files_sharing/ajax/shareinfo.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/files_sharing/ajax') diff --git a/apps/files_sharing/ajax/shareinfo.php b/apps/files_sharing/ajax/shareinfo.php index e531e84ebbc..e15e12fd287 100644 --- a/apps/files_sharing/ajax/shareinfo.php +++ b/apps/files_sharing/ajax/shareinfo.php @@ -71,12 +71,12 @@ function getChildInfo($dir, $view) { $children = $view->getDirectoryContent($dir->getPath()); $result = array(); foreach ($children as $child) { - $formated = \OCA\Files\Helper::formatFileInfo($child); + $formatted = \OCA\Files\Helper::formatFileInfo($child); if ($child->getType() === 'dir') { - $formated['children'] = getChildInfo($child, $view); + $formatted['children'] = getChildInfo($child, $view); } - $formated['mtime'] = $formated['mtime'] / 1000; - $result[] = $formated; + $formatted['mtime'] = $formatted['mtime'] / 1000; + $result[] = $formatted; } return $result; } -- cgit v1.2.3