From cd268569b11b37af4a2bde854b9a95ae0e4bf0d4 Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Wed, 26 Dec 2012 18:55:58 -0800
Subject: [PATCH] Issue #1874342 by erikwebb: Fixed Undefined constant
 STEAM_WRAPPERS_LOCAL used in file_get_stream_wrappers() documentation.

---
 core/includes/file.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/includes/file.inc b/core/includes/file.inc
index 0c265745918a..a9918770934f 100644
--- a/core/includes/file.inc
+++ b/core/includes/file.inc
@@ -157,7 +157,7 @@
  * wrappers that are appropriate for particular usage. For example, this returns
  * only stream wrappers that use local file storage:
  * @code
- *   $local_stream_wrappers = file_get_stream_wrappers(STEAM_WRAPPERS_LOCAL);
+ *   $local_stream_wrappers = file_get_stream_wrappers(STREAM_WRAPPERS_LOCAL);
  * @endcode
  *
  * The $filter parameter can only filter to types containing a particular flag.
@@ -167,7 +167,7 @@
  * array_diff_key() function can be used to help with this. For example, this
  * returns only stream wrappers that do not use local file storage:
  * @code
- *   $remote_stream_wrappers = array_diff_key(file_get_stream_wrappers(STREAM_WRAPPERS_ALL), file_get_stream_wrappers(STEAM_WRAPPERS_LOCAL));
+ *   $remote_stream_wrappers = array_diff_key(file_get_stream_wrappers(STREAM_WRAPPERS_ALL), file_get_stream_wrappers(STREAM_WRAPPERS_LOCAL));
  * @endcode
  *
  * @param $filter
-- 
GitLab