From ce866ad39beee9bc0fa856152c21ea745da5ee81 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 30 Apr 2017 00:29:14 -0400 Subject: [PATCH] Remove unrecommended leading backslash for fully qualified namespaces --- include/cache.php | 8 ++++---- include/config.php | 6 +++--- include/cron.php | 3 ++- include/cronhooks.php | 2 +- include/datetime.php | 30 +++++++++++++++--------------- include/dbclean.php | 2 +- include/dbupdate.php | 2 +- include/directory.php | 6 +++--- include/discover_poco.php | 2 +- include/expire.php | 2 +- include/gprobe.php | 2 +- include/onepoll.php | 2 +- include/pgettext.php | 2 +- include/photos.php | 4 ++-- include/queue.php | 2 +- include/remove_contact.php | 2 +- include/spool_post.php | 2 +- include/update_gcontact.php | 2 +- mod/worker.php | 4 ++-- src/ParseUrl.php | 2 +- 20 files changed, 44 insertions(+), 43 deletions(-) diff --git a/include/cache.php b/include/cache.php index 98799bcf40..b56906c544 100644 --- a/include/cache.php +++ b/include/cache.php @@ -5,8 +5,8 @@ * @brief Class for storing data for a short time */ -use \Friendica\Core\Config; -use \Friendica\Core\PConfig; +use Friendica\Core\Config; +use Friendica\Core\PConfig; class Cache { /** @@ -121,9 +121,9 @@ class Cache { /** * @brief Put data in the cache according to the key - * + * * The input $value can have multiple formats. - * + * * @param string $key The key to the cached data * @param mixed $valie The value that is about to be stored * @param integer $duration The cache lifespan diff --git a/include/config.php b/include/config.php index c51db4ec7b..1c8b119bcc 100644 --- a/include/config.php +++ b/include/config.php @@ -1,7 +1,7 @@ 0 ? gps2Num($exifCoord[0]) : 0; diff --git a/include/queue.php b/include/queue.php index c0c73cda61..b21bf676ba 100644 --- a/include/queue.php +++ b/include/queue.php @@ -1,6 +1,6 @@